OTVCustomerSSMDelegate
The OTVCustomerSSMDelegate class provides default implemetation to conform to the OTVLicenseDelegate protocol.
When a license is requested, it will use the license callback from the OTVCustomerSSMCallback conforming delegate, expecting
a response OTVSSMLicenseResponse containing the license data and a heartbeat period in seconds.
On receipt of a non-zero positive heartbeat period the first license request will start the heartbeat, starting at 0+heartbeat seconds.
It is the respoisibility of the calling application to stop the heartbeat when required by calling the ‘reset’ function.
-
OTVCustomerSSMDelegate must be initialised with the Fairplay certificate data
-
setCallback simply sets a delegate that must conform to the
OTVCustomerSSMCallbackprotocol
-
Returns the certificate that integrator uses in the server side.
-
Returns the scheme that the integrator uses in the
EXT-X-KEYURI. -
Returns the content identifier that the integrator uses in the server side.
-
ckcMessage is part of the
OTVLicenseDelegateprotocol Here we use it to call the license callback supplied by the calling application and, if sucessful, to also start the heartbeat, calling the supplied heartbeat callback
-
Calling ‘reset’ stops the heartbeat timer. No subsequent heartbeat can start until ‘reset’ has been called
OTVCustomerSSMDelegate Class Reference