WebkitAddKey argument mismatch while playing EME v0.1b widevine stream
Created by: pavankn
Hi , I am Trying to load the stream below and getting an error from Dash reference player v2.5.0 . Stream : https://storage.googleapis.com/shaka-demo-assets/sintel-widevine/dash.mpd DRM KeySystem : com.widevine.alpha License Server : https://widevine-proxy.appspot.com/proxy
Platform : Browser : WPEWebKit master branch Hardware : ARM based SOC EME : EME v0.1b (prefixed EME)
The Error is as follows : dash.all.debug.js:40688:37: CONSOLE ERROR TypeError: Argument 3 ('initData') to HTMLMediaElement.webkitAddKey must be an instance of Uint8Array .
The Call that resulted in the error is as follows : videoElement[api.addKey](keySystem.systemString,%20new%20Uint8Array(message), sessionToken.initData, sessionID);
here sessionToken.initData is an ArrayBuffer and not UInt8Array which is causing the issue .
I would like to know if there is a fix for this already .