XstreamDRMConfiguration
@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
ticketAcquisitionURLThe URL for Xstream ticket acquisition.
streamIdThe required stream id for the ticket server.
sessionIdThe session id for the ticket server, defaults to nil.
keySystemConfigurationsThe key system configurations (FairPlay, Widevide).
-
init(licenseAcquisitionURL:certificateURL: ticketAcquisitionURL: streamId: sessionId: headers: licenseType: ) Constructs a Xstream DRMConfiguration.
Declaration
Swift
@available(*, deprecated, message: "This initializer will be removed in the next major release. Please use init(ticketAcquisitionURL:streamId:sessionId:keySystemConfigurations:﹚ instead.") @objc public convenience init(licenseAcquisitionURL: String, certificateURL: String, ticketAcquisitionURL: String, streamId: String, sessionId: String? = nil, headers: [[String : String]]? = nil, licenseType: LicenseType = .temporary)Parameters
licenseAcquisitionURLThe license aquisition URL for FairPlay.
certificateURLThe certificate URL for FairPlay.
ticketAcquisitionURLThe URL for Xstream ticket acquisition.
sessionIdThe session id for the ticket server, defaults to nil.
streamIdThe required stream id for the ticket server.
headersThe Xstream headers for FairPlay, defaults to nil.
licenseTypeThe type of license for FairPlay, defaults to
temporary.
XstreamDRMConfiguration Class Reference