Other Structures

The following structures are available globally.

  • Describes how TheoAds should be enabled

    See more

    Declaration

    Swift

    public struct THEOAdDescription : AdDescription, Codable
  • Configuration for a CMCD endpoint.

    Used to specify where CMCD events should be sent.

    See more

    Declaration

    Swift

    public struct CMCDEndpointConfiguration : Codable, Equatable
  • Configuration for Common Media Client Data (CMCD) at the player level.

    CMCD is a specification (CTA-5004) that defines a standard way for media players to communicate information about playback to CDNs and other infrastructure components.

    Currently exposed for event reporting. Configure eventEndpoints to receive CMCD event reports.

    Remark

    This configuration is set at the player level via THEOplayerConfiguration. For source-level configuration (which can additionally specify a session ID), use CMCDSourceConfiguration.
    See more

    Declaration

    Swift

    public struct CMCDConfiguration : Codable, Equatable
  • Configuration for Common Media Client Data (CMCD) at the source level.

    This extends the player-level configuration by additionally allowing a session ID to be specified per source. Source-level values take precedence over player-level values for overlapping fields, except for eventEndpoints which are merged (both player and source endpoints receive events).

    Remark

    This configuration is set per source via TypedSource.
    See more

    Declaration

    Swift

    public struct CMCDSourceConfiguration : Codable, Equatable
  • User defined latency configuration.

    Declaration

    Swift

    public struct SourceLatencyConfiguration