0

我正在尝试开发自定义接收器应用程序。我用了; https://github.com/googlecast/CastMediaPlayerStreamingDRM

我的服务器平台是 IIS 7.5,满足 CORS 要求。在 .m3u8 文件中,有两项,URI 和初始向量。

EXT-X-KEY:METHOD=AES-128,URI="http://MY_SERVER_IP/FILE_NAME.key",IV=0x799a4490f82203e21ea413b1bf66bbf8

我将许可证服务器 URL 放在自定义接收器上,但它不起作用。我收到的消息是媒体播放器状态:“下溢:真”,媒体元素状态:“停滞”

我该如何解决?感谢您阅读我的问题。

更新#1

    ######### MEDIA ELEMENT LOAD START mpl.js:58
 [ 38.556s] [goog.net.XhrIo] Opening Xhr [GET http://serverIP/.m3u8 -1] media_player.js:24
 [ 38.572s] [goog.net.XhrIo] Will abort after 30000ms if incomplete, xhr2 false [GET http://serverIP.m3u8 -1] media_player.js:24
 [ 38.578s] [goog.net.XhrIo] Sending request [GET http://serverIP.m3u8 -1] media_player.js:24
 [ 38.619s] [goog.net.XhrIo] Request complete [GET http://serverIP.m3u8 200] media_player.js:24
 [ 38.695s] [cast.player.core.QualityManager] 0: from undefined to 1308128 media_player.js:24
 [ 38.701s] [cast.player.hls.Playlist] update: http://serverIP.m3u8 media_player.js:24
 [ 38.709s] [goog.net.XhrIo] Opening Xhr [GET http://serverIP.m3u8 -1] media_player.js:24
 [ 38.719s] [goog.net.XhrIo] Will abort after 30000ms if incomplete, xhr2 false [GET http://serverIP.m3u8 -1] media_player.js:24
 [ 38.725s] [goog.net.XhrIo] Sending request [GET http://serverIP.m3u8 -1] media_player.js:24
 [ 38.748s] [goog.net.XhrIo] Request complete [GET http://serverIP.m3u8 200] media_player.js:24
 [ 38.776s] [cast.player.hls.Parser] unexpected EXT-X-KEY: state 3 media_player.js:24
### HOST ERROR - Fatal Error: code = 0 mpl.js:635
 [ 38.785s] [cast.player.api.Player] unload  media_player.js:24
######### MEDIA ELEMENT STALLED 

当我尝试使用 VLC 媒体播放器播放时,它可以工作。

4

1 回答 1

0

许可证文件(密钥)必须通过 https 提供。

于 2016-02-22T16:48:55.007 回答