requestLiveStream

open fun requestLiveStream(assetKey: String, apiKey: String)

Requests a live stream to be played

Parameters

assetKey

Determines which stream you request. The live stream request asset key is an identifier which you can find in the Ad Manager UI.

apiKey

The stream request API key. Set up the key in the Ad Manager Admin UI and use it in the application to unlock the content. The key verifies applications to access the content.


open fun requestLiveStream(assetKey: String, apiKey: String, networkCode: String)

Requests a live stream to be played

Parameters

assetKey

Determines which stream you request. The live stream request asset key is an identifier which you can find in the Ad Manager UI.

apiKey

The stream request API key. Set up the key in the Ad Manager Admin UI and use it in the application to unlock the content. The key verifies applications to access the content.

networkCode

The network code for the Ad Manager account that owns the stream. The code is recommended because it is used to apply settings selected in the Ad Manager UI such as programmatic limited ads enablement. To find the network code, see Find Ad Manager account information.