Constructs CameraStreamer instance.
String which represents RTSP URL to be streamed. Streamer will start streaming after variable set.
Resumes streaming: footage from pause point, live from current timestamp.
Pauses streaming (both live and footage).
Jumps to concrete time in [0 ... duration] range and starts playing (even if footage was paused). In milliseconds. Wouldn't affect live streaming.
Returns true if the playback has been started.
Returns true if streaming is not footage.
returns start time of footage stream (0 for live stream), in milliseconds till 1970.
returns end time of footage stream (0 for live stream), in milliseconds till 1970.
returns duration of footage stream (0 for live stream), in milliseconds.
returns current position in [0 ... duration] range for footage stream or current timestamp for live stream, in milliseconds.
returns buffer time of footage stream (0 for live stream), in milliseconds.
mutes audio by ignoring the audio stream altogether.
iOS specific: returns last decoded frame.
iOS specific: frame's output content type.
Will get called when the playback has been effectively resumed/started.
Will get called when the playback has been paused.
@optional onSoughtToTime(float time);
Will get called when the playback has been sought to given time.
Will get called when the playback has been ended. Will be called only for footage stream as live stream can't end.
@optional onDurationChanged(float duration);
Will be called when footage stream duration has been changed.
@optional onBufferTimeChanged(float bufferTime);
Will be called when footage stream buffer time has been changed.
@required onFrameDataReceived(FrameData frameData);
iOS specific: When a new frame arrives, this method will be called with frame data instance.
@required onError(MobileSDKError error);
Will be called if there is an error in the streaming process.
iOS specific: Returns type of frame's data.
Returns data associated with frame.
Returns timestamp associated with frame.