VIDEO_OA_getStreamInfoForShowLiveDefaultDisplay()

Returns the stream information to open a live stream on a display monitor. The default stream is used.

Synopsis

string VIDEO_OA_getStreamInfoForShowLiveDefaultDisplay(string display) ;

Parameters

Parameter Description
Display Display monitor data point (e.g. DISPLAY1)

Return Value

Stream information to open a live stream on a display monitor. The default stream is used. The return value can be directly passed to the display monitor.

Errors

Missing or wrong arguments

Description

Returns the stream information to open a live stream on a display monitor. For this, the default stream is used.

EXAMPLE

main()
{
  string streamInfo =
  VIDEO_OA_getStreamInfoForShowLiveDefaultDisplay("Camera_00001","DISPLAY1");
  string cmd = "cmd=show;mode=live;source=" + streamInfo
  +";videodlg=VD2";
  dpSet("DISPLAY1.object.command.request",cmd);
}

Assignment

Video functions

Availability

UI, CTRL