Vuo  2.3.2
Typedefs | Functions
VuoVideoCapture.h File Reference

Description

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...
 

Functions

VuoList_VuoVideoInputDevice VuoVideoCapture_getInputDevices (void)
 Returns the available input devices at this moment. More...
 
void VuoVideoCapture_addOnDevicesChangedCallback (VuoOutputTrigger(devicesDidChange, VuoList_VuoVideoInputDevice))
 Adds an output trigger to the VuoVideoCaptureDeviceListener TriggerSet to be fired when available input devices changes. More...
 
void VuoVideoCapture_removeOnDevicesChangedCallback (VuoOutputTrigger(devicesDidChange, VuoList_VuoVideoInputDevice))
 Removes an output trigger from the VuoVideoCaptureDeviceListener TriggerSet. More...
 
VuoVideoCapture VuoVideoCapture_make (VuoVideoInputDevice device, VuoOutputTrigger(receivedFrame, VuoVideoFrame))
 Creates a new VuoVideoCapture device. More...
 
void VuoVideoCapture_startListening (VuoVideoCapture movie)
 Begins listening for video frames on the selected input device. More...
 
void VuoVideoCapture_stopListening (VuoVideoCapture movie)
 Stops receiving frames (starts ignoring/dropping them). More...
 
void VuoVideoCapture_setCallback (VuoVideoCapture movie, VuoOutputTrigger(receivedFrame, VuoVideoFrame))
 Sets the image callback. More...
 
void VuoVideoCapture_setSize (VuoVideoCapture movie, VuoInteger width, VuoInteger height)
 Specifies the desired image size. More...
 

Typedef Documentation

◆ VuoVideoCapture

typedef void* VuoVideoCapture

An object for receiving video frames via AV Foundation.

Definition at line 23 of file VuoVideoCapture.h.

Function Documentation

◆ VuoVideoCapture_addOnDevicesChangedCallback()

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.

◆ VuoVideoCapture_getInputDevices()

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_make()

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.

◆ VuoVideoCapture_removeOnDevicesChangedCallback()

void VuoVideoCapture_removeOnDevicesChangedCallback ( VuoOutputTrigger(devicesDidChange, VuoList_VuoVideoInputDevice )

Removes an output trigger from the VuoVideoCaptureDeviceListener TriggerSet.

Definition at line 212 of file VuoVideoCapture.mm.

◆ VuoVideoCapture_setCallback()

void VuoVideoCapture_setCallback ( VuoVideoCapture  movie,
VuoOutputTrigger(receivedFrame, VuoVideoFrame  
)

Sets the image callback.

Definition at line 740 of file VuoVideoCapture.mm.

◆ VuoVideoCapture_setSize()

void VuoVideoCapture_setSize ( VuoVideoCapture  movie,
VuoInteger  width,
VuoInteger  height 
)

Specifies the desired image size.

Definition at line 614 of file VuoVideoCapture.mm.

◆ VuoVideoCapture_startListening()

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.

◆ VuoVideoCapture_stopListening()

void VuoVideoCapture_stopListening ( VuoVideoCapture  movie)

Stops receiving frames (starts ignoring/dropping them).

Definition at line 723 of file VuoVideoCapture.mm.