ComcastDRMConfiguration

@objc(THEOplayerComcastDRMConfiguration)
public class ComcastDRMConfiguration : MultiplatformDRMConfiguration

Represents Comcast MPX DRM Configuration.

  • The PID of the media for which the license is being requested.

    Declaration

    Swift

    @objc
    public var releasePid: String
  • The Comcast Authorization Token.

    Declaration

    Swift

    @objc
    public var token: String
  • The identifier of the Comcast account.

    Declaration

    Swift

    @objc
    public var accountId: String
  • Constructs an Comcast DRM Configuration.

    Declaration

    Swift

    @objc
    public init(releasePid: String, token: String, accountId: String, keySystemConfigurations: KeySystemConfigurationCollection)

    Parameters

    releasePid

    The PID of the media for which the license is being requested.

    token

    The Comcast Token.

    accountId

    The identifier of the Comcast account.

    keySystemConfigurations

    The key system configurations (FairPlay, Widevide).

  • Constructs an Comcast DRM Configuration.

    Declaration

    Swift

    @available(*, deprecated, message: "This initializer will be removed in the next major release. Please use init(releasePid:token:accountId:keySystemConfigurations:﹚ instead.")
    @objc
    public convenience init(licenseAcquisitionURL: String, releasePid: String, token: String, accountId: String, certificateURL: String, headers: [[String : String]]? = nil)

    Parameters

    licenseAcquisitionURL

    The license acquisition URL for FairPlay.

    releasePid

    The PID of the media for which the license is being requested.

    token

    The Comcast Token.

    certificateURL

    The certificate URL for FairPlay.

    accountId

    The identifier of the Comcast account.

    headers

    The Comcast Headers for FairPlay, defaults to nil.