CameraStreamer(String rtspUrlString, CameraStreamerDelegate delegate);
Constructs CameraStreamer instance.
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.
mutes audio by ignoring the audio stream altogether.
iOS specific: returns last decoded frame.
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.
@required onFrameDataReceived(UIImage frame, Double timestamp);
iOS specific: When a new frame arrives, this method will be called.
@required onError(MobileSDKError error);
Will be called if there is an error in the streaming process.