Adaptive Media Player

AmpChromecast Docs

ReceiverDRMConfig

open class ReceiverDRMConfig : NSObject

Container class of the specifications to load a DRM stream in the receiver.

  • The stream URL.

    Declaration

    Swift

    public var streamUrl: String!
  • The content (MIME) type.

    Declaration

    Swift

    public var contentType: String!
  • The custom data for request the DRM content.

    Declaration

    Swift

    public var customData: [String : Any]?
  • Creates a new instance of ReceiverDRMConfig.

    Declaration

    Swift

    public init(streamUrl: String!, contentType: String!, customData: [String : Any]? = nil)

    Parameters

    streamUrl

    The DRM stream URL.

    contenType

    The content (MIME) type.

    customData

    Dictionary used to send custom data for request the DRM content. Default value nil.