question

ZEASN avatar image
ZEASN asked

Widevine DRM L3 implementation for Amazon Music

AVS Product ID: WhaleKitchenBeta

DTID: A3GOBJFZPR8WKW


Hi there,


We are now implementing Widevine DRM L3 on our new product (Info as above) to meet Amazon Music's requirements.


However, the Widevine CDM 15.3 is not able to parse the license which is in base64 format we got from the key server.


Please kindly refer to the following link for our code implementation and error logs: https://drive.google.com/drive/folders/1Dod53-9A4W5j-Auge2GSPB1Kyt0aPqdu?usp=sharing


Please note that the DrmManager is a singleton class responsible for handling the Widevine DRM process. It implements steps 1-10 of the workflow diagram (https://m.media-amazon.com/images/G/01/music/developer_portal/api_docs/playback/playback_overview_1_workflow.png) related to DRM.


Could you please help us review this portion of the code to see if there are any issues? We are encountering an error with code 9999 at step 10, specifically during the updateLicense operation.


Thanks,

/Pier

amazon musicdrm
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

iosdev avatar image
iosdev answered

你是用这个来更新的吗?

Cdm::Status updateWithRetry(const std::string& session_id, const std::string& response)

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.