VIDEO_OA_getDefaultStreamNumForDisplay()

Returns the default stream for a display.

Synopsis

unsigned VIDEO_OA_getDefaultStreamNumForDisplay(string displayDp, string mode = "live");

Parameters

Parameter Description
displayDp Camera data point
mode

Live or playback stream

live = live stream

playback = playback stream

Return Value

Default Stream number

Errors

Missing or wrong arguments.

Description

The function returns the default stream for a display. The default stream defines which camera stream should be displayed on a display. Configure the value per display for live streams and playback streams in the object explorer. If you do not specify a stream, the default stream is always 1.

EXAMPLE

main()
{
  DebugN(VIDEO_OA_getDefaultStreamNumForDisplay("Display00001"));
}

Assignment

Video functions

Availability

UI, CTRL