videoStreamStart(3mms) — Subroutines
Name
videoStreamStart --- Start video streaming
Syntax
#include <mme/mme_api.h>
MMRESULT videoStreamStart(HVIDEO hVideo)
Arguments
HVIDEO hVideo
Specifies a handle to a video device channel.
Description
The videoStreamStart function starts streaming on the specified video device channel.
If buffers are added before calling videoStreamStart, any of the error conditions described for videoStreamAddBuffer may be returned from the videoStreamStart call. Buffers added before the videoStreamStart may not be validated until videoStreamStart is called; internally to the device, validation might be performed by calling videoStreamAddBuffer from videoStreamStart and thus errors from videoStreamAddBuffer might be returned during a call to videoStreamStart.
Extensions
None.
Return Values
Returns DV_ERR_OK if the function is successful; otherwise, it returns the following error code:
DV_ERR_INVALHANDLE@T{ The specified device handle is invalid. T}
See Also
videoClose(3mms), videoStreamAddBuffer(3mms), videoStreamReset(3mms),
videoStreamStop(3mms)