Orange-OpenSource / hasplayer.js

Http Adaptive Streaming javascript player based on HTML5 premium extensions (MSE/EME)
Other
197 stars 67 forks source link

Fix initData type passing to CDM #208

Closed onotole closed 6 years ago

bbert commented 6 years ago

I do not have anymore EME specification for this version of ProtectionModel. But I guess we should provide Uint8Array for initData as for license message Do you have the spec?

onotole commented 6 years ago

Yep, it has to be Uint8Array: https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1b/encrypted-media/encrypted-media.html#initialization-data

bbert commented 6 years ago

Ok thanks. I do merge.