This performs any API specific calls to open a particular device or initialize a capturing session. For example, open and retrieve a handle to a v4l device or try to connect to a network port to receive RTP / TCP image transmissions.
If the open fails, this method should return phFAIL to signal the caller that the open failed and allow the proper handling of the error.
Reimplemented in phImageCapture, phAvcodecSource, phNetSource, V4LCapture, VFWSource, and phNetSource.
Definition at line 157 of file phCaptureInterface.cpp. |