Sensoray 819 Windows SDK User Manual

Page 9

Advertising
background image

streams

streams bitmask. To select a stream, set a bit of the parameter streams to 1 by using an
SMASK macro. For example, streams = SMASK(STREAM_H264_PRI); or streams =
SMASK(STREAM_H264_PRI) | SMASK(STREAM_H264_SEC);

S819_DetachStreams

ECODE S819_DetachStreams(HCNODE hCnode)

Detaches stream(s) from capture node.
hCnode

a valid capture node handle.

S819_StartStreams

ECODE S819_StartStreams(HCNODE hCnode,

int

chan,

int

streams)

Starts capture of a combination of streams attached to a capture node. Other streams that may be
attached to the same capture node are not affected.
hCnode

a valid capture node handle.

chan

selected channel number (1-based).

streams

streams bitmask corresponding to desired stream combination. To select a stream, set
a bit of the parameter streams to 1 by using an SMASK macro. For example, streams =
SMASK(STREAM_H264_PRI); or streams = SMASK(STREAM_H264_PRI) |
SMASK(STREAM_H264_SEC);

S819_StopStreams

ECODE S819_StopStreams(HCNODE hCnode,

int

chan,

int

streams)

Stops capture of a combination of streams attached to a capture node. Other streams that may be
attached to the same capture node are not affected.
hCnode

a valid capture node handle.

chan

selected channel number (1-based).

streams

streams bitmask corresponding to desired stream combination. To select a stream, set
a bit of the parameter streams to 1 by using an SMASK macro. For example, streams =
SMASK(STREAM_H264_PRI); or streams = SMASK(STREAM_H264_PRI) |
SMASK(STREAM_H264_SEC);

S819_StartAll

ECODE S819_StartAll(HCNODE hCnode)

Starts capture of all streams attached to a selected capture node.

9

Advertising