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
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).
-
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
licenseAcquisitionURL
The license aquisition URL for FairPlay.
certificateURL
The certificate URL for FairPlay.
ticketAcquisitionURL
The URL for Xstream ticket acquisition.
sessionId
The session id for the ticket server, defaults to nil.
streamId
The required stream id for the ticket server.
headers
The Xstream headers for FairPlay, defaults to nil.
licenseType
The type of license for FairPlay, defaults to
temporary
.