当我尝试播放加密的SmoothStreaming网址http://playready.directtaps.net/smoothstreaming/SSWSS720H264PR/SuperSpeedway_720.ism/Manifest时 在我的CastVideos-android示例中使用cast-custom-receiver,在控制台(: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]”);作为网址,以播放上述网址的内容?