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

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Add a listener to be called back on stream events. The listener is held as a strong reference; thus, the caller is responsible for releasing the reference.

Link copied to clipboard
open override fun cleanup()

Clean up AdswizzAdStreamManager.

Link copied to clipboard
fun pause()

Pause the playback.

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

Play a stream. This function may throw a SDKError exception

fun play(url: String, timestamp: Long)

Play a stream. This function may throw a SDKError exception.

Link copied to clipboard

Remove a listener from the listener list.

Link copied to clipboard
fun resume()

Resume playback.

Link copied to clipboard
open fun stop()

Stop playback and reset the player.