WidevineDRMConfiguration

@objc(THEOplayerWidevineDRMConfiguration)
public class WidevineDRMConfiguration : NSObject, _WidevineDRMConfigurationProtocol

The WidevineDRMConfiguration object provides a set of DRM parameters for Widevine DRM streaming.

Remark

At the moment only available for Chromecast.
  • The Widevine KeySystemConfiguration.

    Declaration

    Swift

    public var widevine: KeySystemConfiguration
  • Declaration

    Swift

    public var integration: DRMIntegration?
  • Declaration

    Swift

    @objc(integration)
    public var integration_Objc: DRMIntegration { get set }
  • Declaration

    Swift

    public var headers: [[String : String]]?
  • Declaration

    Swift

    public var integrationParameters: Dictionary<String, Any>?
  • Declaration

    Swift

    public var customIntegrationId: String?
  • Constructs a Widevine DRM configuration object.

    Remark

    This only intended for casting to remote media, NOT for local playback.

    Declaration

    Swift

    @objc
    public init(licenseAcquisitionURL: String, headers: [[String : String]]? = nil)

    Parameters

    licenseAcquisitionURL

    The license acquisition URL.

    headers

    The headers, defaults to nil.

  • Constructs a Widevine DRM configuration object.

    Remark

    This only intended for casting to remote media, NOT for local playback.

    Declaration

    Swift

    @objc
    public init(customIntegrationId: String, licenseAcquisitionURL: String, headers: [[String : String]]? = nil, integrationParameters: Dictionary<String, Any>? = nil)

    Parameters

    customIntegrationId

    The id of the custom integration.

    licenseAcquisitionURL

    The license acquisition URL.

    headers

    The headers, defaults to nil.

    integrationParameters

    The parameters for integration, defaults to nil.