Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We encountered an issue inside the rx-player base code. The Webkit
implementation of EME update method is waiting for a uInt8Array, so it means that if we would pass an other type like an ArrayBuffer, webkit implementation would throw because he is waiting a strict uIn8Array (ttps://github.com/WebKit/WebKit/blob/8afe31a018b11741abdf9b4d5bb973d7c1d9ff05/Source/WebCore/Modules/encryptedmedia/legacy/WebKitMediaKeySession.cpp#L134). So, we are basically casting everything we receive into a uInt8Array to pass it to the CDM then.
- Loading branch information