Chromecast的PlayReady的加密(Chromecast playready encry

2019-11-02 23:55发布

当我尝试播放加密SmoothStreaming URL http://playready.directtaps.net/smoothstreaming/SSWSS720H264PR/SuperSpeedway_720.ism/Manifest我CastVideos-的Android与铸造定制接收器样品,在控制台(:9222)我得到

[  8.788s] [cast.player.core.MediaKeysManager] onNeedKey
 media_player.js:24
 [  8.798s] [cast.player.core.MediaKeysManager] onNeedKey_: 1
 media_player.js:24
 [  8.803s] [cast.player.core.MediaKeySession] createSession
 media_player.js:24
 [  8.808s] [cast.player.core.MediaKeysManager] onNeedKey
 media_player.js:24
 [  8.811s] [cast.player.core.MediaKeysManager] onNeedKey_: 2.

如何从这里传递函数(例如9.2.1。清除键) https://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#examples和饲料media_player数据? 像这样的东西不起作用

<video src="foo.webm" autoplay onneedkey="handleKeyNeeded(event)"></video>.

此外,如何通过这里xmlhttp.open( “POST”, “[URL]”); 如为了从上述网址播放内容的网址?

文章来源: Chromecast playready encryption