initSession
Creates an SSAI session with default timeout and empty adsParams. Must be called on a background thread.
Creates an SSAI session with empty adsParams. Must be called on a background thread.
Creates an SSAI session with custom adsParams and default timeout. Must be called on a background thread.
Return
session info with resolved absolute URLs
Parameters
the manifest URL from the Playback API
custom ad targeting parameters passed to the SSAI server for macro replacement in the ad tag URL
Throws
if the session init request fails
Creates an SSAI session. Must be called on a background thread.
Return
session info with resolved absolute URLs
Parameters
the manifest URL from the Playback API
custom ad targeting parameters passed to the SSAI server for macro replacement in the ad tag URL
connect and read timeout in milliseconds
Throws
if the session init request fails