#include "AVPDrmDelegate.h"
|
| (NSData *) | - requestCert: |
| | Callback method invoked during playback initialization to request the Fairplay certificate.
|
| (NSData *) | - requestKey:data: |
| | Callback method invoked during playback initialization to request the Fairplay content decryption key.
|
◆ requestCert:
| - (NSData *) requestCert: |
|
(AliPlayer *) | player |
|
Callback method invoked during playback initialization to request the Fairplay certificate.
- Parameters
-
- Returns
- The certificate data. Refer to the Fairplay provider's documentation for parsing the certificate content (e.g., some providers may encapsulate the certificate within a JSON object).
◆ requestKey:data:
| - (NSData *) requestKey: |
|
(AliPlayer *) | player |
| data: |
|
(NSData *) | data |
Callback method invoked during playback initialization to request the Fairplay content decryption key.
- Parameters
-
| player | A pointer to the AliPlayer instance. |
| data | The necessary parameters for requesting the Fairplay key. Refer to the Fairplay provider's documentation for details on how to implement the key request (e.g., some providers may require additional parameters). |
- Returns
- The decryption key for the current playback URL. Refer to the Fairplay provider's documentation for parsing the key content (e.g., some providers may encapsulate the key within a JSON object).
The documentation for this protocol was generated from the following file: