In the next step you'll learn more about available API methods in API Methods guide.
Video events are related to the video behaviors (not the player itself).
Event name | Parameters | Description |
---|---|---|
onVideoConnecting() | - | Invoked when the library initializes a connection with a Storm Streaming Server instance. |
onVideoMetaData(videoMetaData: VideoMetaData) | videoMetaData – metadata from a video | Invoked when the library receives video metadata from the stream. |
onVideoProgress(videoTimeData: TimeDataPacket.TimeData)) | videoTimeData – data related to stream time | Invoked cyclically during video playback and updating time data related to stream duration, cached (nDVR) size and current viewer's position. |
onVideoConnectionError(error:Error) | error – an exception that caused the error | Invoked when Storm iOS Library encounters an error. |
onVideoNotFound() | - | Invoked when no stream with a given name was found on a Storm Streaming Server instance. |
onVideoPlay() | - | Invoked when the stream starts the playback. |
onVideoPause() | - | Invoked when the stream playback is paused. |
onVideoStop() | - | This event will be called when the stream is closed on a server side (usually it means that the broadcaster has stopped streaming) |
onVideoSeek(streamSeekUnixTime: Int64) | streamSeekUnixTime – current position on the timeline of the stream | Invoked when the current timeline position is changed (e.g. user seeks for a different moment of the stream) |
Create a free ticket and our support team will provide you necessary assistance.