onStreamStateChanged()

The event which is triggerd by a change in the stream state .

Synopsis

void onStreamStateChanged(int dialogIdx, uint mode, uint state)           

Parameter

Parameter Description
dialogIdx

Identifies the video dialog on which the video is to be displayed if a grid with several videos is chosen.

mode The current streaming mode of the video dialog. Valid mode values ​​are:
  • const uint STREAMING_MODE_NONE = 0x00;
  • const uint STREAMING_MODE_LIVE = 0x01;
  • const uint STREAMING_MODE_PLAYBACK = 0x10;
  • const uint STREAMING_MODE_SEQUENCE = 0x20;
state The current streaming status or an error in the video dialog. Valid states ​​are:
  • const uint STREAMING_STATE_STOPPED = 0x00;
  • const uint STREAMING_STATE_STREAMING = 0x01;
  • const uint STREAMING_STATE_ERROR = 0x1001;
  • const uint STREAMING_STATE_ERROR_UNKNOWN_CHANNEL = 0x1002;
  • const uint STREAMING_STATE_ERROR_UNAUTHORIZED = 0x1004;
  • const uint STREAMING_STATE_ERROR_NOT_FOUND = 0x1008;

Description

This event asynchronously reports successful connection establishment and errors during connection establishment to the RTSP streaming source.

Assignment

Video functions

Availability

UI, CTRL