VuoVideoCapture interface.
Definition in file VuoVideoCapture.h.
Go to the source code of this file.
Typedefs | |
typedef void * | VuoVideoCapture |
An object for receiving video frames via AV Foundation. More... | |
typedef void* VuoVideoCapture |
An object for receiving video frames via AV Foundation.
Definition at line 23 of file VuoVideoCapture.h.
void VuoVideoCapture_addOnDevicesChangedCallback | ( | VuoOutputTrigger(devicesDidChange, VuoList_VuoVideoInputDevice) | ) |
Adds an output trigger to the VuoVideoCaptureDeviceListener TriggerSet to be fired when available input devices changes.
Definition at line 221 of file VuoVideoCapture.mm.
VuoList_VuoVideoInputDevice VuoVideoCapture_getInputDevices | ( | void | ) |
Returns the available input devices at this moment.
Returns the available input devices at this moment.
Definition at line 350 of file VuoVideoCapture.mm.
VuoVideoCapture VuoVideoCapture_make | ( | VuoVideoInputDevice | inputDevice, |
VuoOutputTrigger(receivedFrame, VuoVideoFrame) | |||
) |
Creates a new VuoVideoCapture device.
Does not start recording, you must call VuoVideoCapture_startListening() separately.
Creates a new VuoVideoCapture device.
Definition at line 533 of file VuoVideoCapture.mm.
void VuoVideoCapture_removeOnDevicesChangedCallback | ( | VuoOutputTrigger(devicesDidChange, VuoList_VuoVideoInputDevice) | ) |
Removes an output trigger from the VuoVideoCaptureDeviceListener TriggerSet.
Definition at line 212 of file VuoVideoCapture.mm.
void VuoVideoCapture_setCallback | ( | VuoVideoCapture | movie, |
VuoOutputTrigger(receivedFrame, VuoVideoFrame) | |||
) |
Sets the image callback.
Definition at line 740 of file VuoVideoCapture.mm.
void VuoVideoCapture_setSize | ( | VuoVideoCapture | movie, |
VuoInteger | width, | ||
VuoInteger | height | ||
) |
Specifies the desired image size.
Definition at line 614 of file VuoVideoCapture.mm.
void VuoVideoCapture_startListening | ( | VuoVideoCapture | p | ) |
Begins listening for video frames on the selected input device.
If an input device has been specified but not found in the available devices list, this will wait for the device to appear and begin playing as soon as it's found.
Begins listening for video frames on the selected input device.
Definition at line 706 of file VuoVideoCapture.mm.
void VuoVideoCapture_stopListening | ( | VuoVideoCapture | movie | ) |
Stops receiving frames (starts ignoring/dropping them).
Definition at line 723 of file VuoVideoCapture.mm.