XstreamDRMConfiguration

@available(*, deprecated, message: "All DRM pre-integrations are deprecated and will be removed in later versions. Please use the custom integration approach instead. For more info, check the guide and sample app at: https://github.com/THEOplayer/samples-ios-sdk/tree/master/DRM-Playback")
@objc(THEOplayerXstreamDRMConfiguration)
public class XstreamDRMConfiguration : MultiplatformDRMConfiguration

The Xstream DRMConfiguration object provides a set of DRM parameters for FairPlay DRM streaming with Xstream integration.

  • The required ticket acquisition URL.

    Declaration

    Swift

    @objc
    public var ticketAcquisitionURL: String
  • The required session id for the ticket server.

    Declaration

    Swift

    @objc
    public var sessionId: String?
  • The required stream id for the ticket server.

    Declaration

    Swift

    @objc
    public var streamId: String
  • Constructs a Xstream DRMConfiguration.

    Declaration

    Swift

    @objc
    public init(ticketAcquisitionURL: String, streamId: String, sessionId: String? = nil, keySystemConfigurations: KeySystemConfigurationCollection)

    Parameters

    ticketAcquisitionURL

    The URL for Xstream ticket acquisition.

    streamId

    The required stream id for the ticket server.

    sessionId

    The session id for the ticket server, defaults to nil.

    keySystemConfigurations

    The key system configurations (FairPlay, Widevide).