GoogleDAILiveConfiguration

@objc(THEOplayerGoogleDAILiveConfiguration)
public class GoogleDAILiveConfiguration : GoogleDAIConfiguration

Represents a configuration for server-side ad insertion with the Google DAI pre-integration for live streams.

  • The identifier for the video content source for live streams.

    Remark

    • This property is required for live streams.
    • The asset key can be found in the Google Ad Manager UI.

    Declaration

    Swift

    @objc
    public var assetKey: String
  • The builder for the Google DAI live configuration.

    Declaration

    Swift

    @objc
    public init(assetKey: String,
                apiKey: String,
                authToken: String?,
                streamActivityMonitorID: String?,
                adTagParameters: [String: String]?)

    Parameters

    assetKey

    The identifier for the video content source for live streams.

    apiKey

    The API key for the stream request.

    authToken

    The authorization token for the stream request.

    streamActivityMonitorID

    The identifier for a stream activity monitor session.

    adTagParameters

    The ad tag parameter added to stream request.