Contents

AddStream

Adds an video stream to the device.

Declaration

kern_return_t AddStream(IOUserVideoStream *in_stream);

Parameters

  • in_stream:

    IOUserVideoStream to add to the device.

Return Value

kIOReturnSuccess if stream was successfully added.

Discussion

The stream’s reference count will be incremented if it was successfully added.

See Also

Working with video streams