OTVLicenseDelegate
The OTVLicenseDelegate
protocol defines methods that allows your code to handle the FPS request while playing a FairPlay encrypted stream.
-
Returns the scheme that the integrator uses in the
EXT-X-KEY
URI. -
Returns the content identifier that the integrator uses in the server side.
-
Returns the certificate that integrator uses in the server side.
-
Returns the Content Key Context (CKC) message from the server side that is used to decrypt the FairPlay stream.
Remark
This delegate function only supports one asset playout. Customers should implement theckcMessageWithID(spc:assetID:)
when playback multistream in concurrency. -
ckcMessageWithID(spc:
Default implementationassetID: ) Returns the Content Key Context (CKC) message from the server side that is used to decrypt the FairPlay stream.
Default Implementation
-
ckcMessageWith(spc:
Default implementationassetID: session: keyRequest: ) Returns the Content Key Context (CKC) message from the server side that is used to decrypt the FairPlay stream.
Remark
In deployments where Secure Session Management is enforced by a short duration FPS license (“license-renew”), the session and keyRequest values may be saved and later used to trigger renewal of the expiring license using:keySession.renewExpiringResponseData(for: keyRequest)
Default Implementation