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 222 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 351 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 524 of file VuoVideoCapture.mm.
void VuoVideoCapture_removeOnDevicesChangedCallback | ( | VuoOutputTrigger(devicesDidChange, VuoList_VuoVideoInputDevice) | ) |
Removes an output trigger from the VuoVideoCaptureDeviceListener TriggerSet.
Definition at line 213 of file VuoVideoCapture.mm.
void VuoVideoCapture_setCallback | ( | VuoVideoCapture | movie, |
VuoOutputTrigger(receivedFrame, VuoVideoFrame) | |||
) |
Sets the image callback.
Definition at line 725 of file VuoVideoCapture.mm.
void VuoVideoCapture_setSize | ( | VuoVideoCapture | movie, |
VuoInteger | width, | ||
VuoInteger | height | ||
) |
Specifies the desired image size.
Definition at line 599 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 691 of file VuoVideoCapture.mm.
void VuoVideoCapture_stopListening | ( | VuoVideoCapture | movie | ) |
Stops receiving frames (starts ignoring/dropping them).
Definition at line 708 of file VuoVideoCapture.mm.