Live2SessionClient

Initializes a BLive 2.0 SSAI session by POSTing to the source manifest URL. Returns the session's manifest URL (with session_id for playback) and tracking URL.

The manifest URL MUST be used for playback so the tracking API can associate ad avails with this viewer session.

Note: Uses HttpURLConnection directly because the SDK's HttpService does not support POST requests with a JSON body.

Types

Link copied to clipboard
Result of SSAI session initialization.

Functions

Link copied to clipboard
open fun initSession(sourceManifestUrl: String): Live2SessionClient.SessionInfo
Creates an SSAI session.