谷歌Chromecast:为什么流畅的直播LIVE会将应用程序驱动到“LOAD_FAILED”媒体错误?

时间:2014-02-07 09:15:14

标签: javascript chromecast smooth-streaming

我需要一些帮助才能了解Chromecast Javascript应用程序中出现的问题。 我的目标是通过isml格式投射LIVE并通过Chromecast开发人员库管理其复制。 当我尝试播放实时内容时,我收到了接收器应用程序上的错误。

你能给我一个正常加载流畅直播的工作代码示例吗?

请注意,服务器正确发送CORS标头。

这是接收器应用控制台上的堆栈跟踪:

Uncaught InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable. media_player.js:103
 [  1.047s] [cast.player.api.Player] sourceclose
 media_player.js:23
 [  1.049s] [goog.net.XhrIo] Opening Xhr [GET .../Events(2014_2_7_9_52_35)/QualityLevels(400000)/Fragments(video=49999920) -1]
 media_player.js:23
 [  1.050s] [goog.net.XhrIo] Will abort after 10000ms if incomplete, xhr2 false [GET http://.../Events(2014_2_7_9_52_35)/QualityLevels(400000)/Fragments(video=49999920) -1]
 media_player.js:23
 [  1.051s] [goog.net.XhrIo] Sending request [GET http://.../Events(2014_2_7_9_52_35)/QualityLevels(400000)/Fragments(video=49999920) -1]
 media_player.js:23
 [  1.242s] [cast.receiver.MediaManager] Load metadata error
 cast_receiver.js:19
 [  1.248s] [cast.receiver.MediaManager] Resetting media element
 cast_receiver.js:19
 [  1.254s] [cast.receiver.MediaManager] Sending error message to 5:client-...
 cast_receiver.js:19
 [  1.256s] [cast.receiver.IpcChannel] IPC message sent: {"namespace":"urn:x-cast:com.google.cast.media","senderId":"5:client-...","data":"{\"requestId\":...,\"type\":\"LOAD_FAILED\"}"}
 cast_receiver.js:19
 [  1.108s] [cast.player.api.Player] error
 media_player.js:23
Fatal Error - 1 index.html?Debug=true:70
 [  1.112s] [cast.player.api.Player] unload 0

谢谢! 下进行。

0 个答案:

没有答案