LiveVideoOrchestrator

constructor(baseVideoView: BaseVideoView, video: Video, callback: SSAICallback<Pair<SSAIWrapper, Timeline>>)

Instantiates a new Live video orchestrator for Legacy Live 1.0 SSAI. Uses ID3AdMetadataProcessor to parse VMAP XML from ID3 cues.

Parameters

baseVideoView

the base video view

video

the video

callback

the SSAI callback

Throws

the exception thrown if there is a problem creating the Timeline


constructor(baseVideoView: BaseVideoView, video: Video, callback: SSAICallback<Pair<SSAIWrapper, Timeline>>, metadataProcessor: TextInformationFrameListener)

Instantiates a new Live video orchestrator with a custom metadata processor. Used for NextGen Live 2.0 (BLive) SSAI where ad metadata comes from the tracking API instead of embedded VMAP XML in ID3 cues.

Parameters

baseVideoView

the base video view

video

the video

callback

the SSAI callback

metadataProcessor

the metadata processor to use, or null for Legacy Live 1.0 default

Throws

the exception thrown if there is a problem creating the Timeline