LicenseRequest
@objc(THEOplayerLicenseRequest)
public class LicenseRequest : Request
A license request.
-
The SKD URL
Remark
For example (skd://fb64ba7c5bd34bf188cf9ba76ab8370e) as extracted from the #EXT-X-KEY tag in the HLS playlist.Declaration
Swift
@objc public var fairplaySkdUrl: String? -
Creates a new LicenseRequest for the given URL.
Declaration
Swift
@objc public init(url: String, method: String, headers: [String : String], body: Data?, fairplaySkdUrl: String?, useCredentials: Bool)Parameters
urlThe URL of the license or certificate server.
methodThe method of the HTTP request.
headersThe HTTP headers to be sent to the server.
bodyThe body of the request.
fairplaySkdUrlThe SKD URL as extracted from the #EXT-X-KEY tag in the HLS playlist.
LicenseRequest Class Reference