Declares a protocol describing a player capable of playing a stream.
|Called to inform the VideoDisplay to load the passed URL with the subtitles for the stream. More...|
|id< IMAVideoDisplayDelegate >||delegate|
|Allows the player to send events to the SDK. More...|
|- (void) loadURL:||(NSURL *)||url|
|withSubtitles:||(NSArray< NSDictionary * > *)||subtitles|
Called to inform the VideoDisplay to load the passed URL with the subtitles for the stream.
Subtitles are available only for dynamic ad insertion VOD streams and can be ignored for client side ads or dynamic ad insertion live streams.
url The URL of the stream subtitles The subtitles for the stream. Each entry in the subtitles array is an NSDictionary that corresponds to a language. Each dictionary will have a language key with a two letter language string value and one or more subtitle key/value pairs. Here's an example NSDictionary for English:
"language" -> "en" "webvtt" -> "https://somedomain.com/vtt/en.vtt" "ttml" -> "https://somedomain.com/ttml/en.ttml"
Allows the player to send events to the SDK.