AdswizzAdStreamManager

AdswizzAdStreamManager handles interactive ad insertions, while playing HLS or ICY live streams from AdsWizz AIS servers. This is possible by reading the player's metadata for specific AdsWizz data and converting it to AdsWizz interactive formats or companion banners.

Constructors

Link copied to clipboard
constructor(settings: AdManagerStreamingSettings? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Cancels an ongoing DVRMetadata request. See requestDVRMetadata

Link copied to clipboard
open override fun cleanup()

Clean up AdswizzAdStreamManager.

Link copied to clipboard
open override fun play(url: String)

Play a stream. This function may throw a SDKError exception.
url: url of the stream to play

fun play(url: String, timestamp: Long)

Play a stream. This function may throw a SDKError exception.
url: url of the stream to play.
timestamp: position in the stream when dvr is enabled, otherwise is ignored

Link copied to clipboard

This method fetches upcoming DVR frames generated by AIS servers.