2014-09-05 57 views
0

我使用的默認媒體播放器應用程序投下含有播放列表.m3u8.TS利用PC啓用chromebrowser Cast擴充文件HLS流鑄HLS時MediaLoad出錯的數據流。第一.TS塊是由接收器的Chromecast應用(默認reciver應用程序)取之後的第二塊傳輸將被取消,錯誤:谷歌的Chromecast:

media_player.js:24 Uncaught InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.  

media_player.js:104 ######### MEDIA ELEMENT ERROR [object Event] 
mpl.js:153 [274.530s] [cast.receiver.MediaManager] Load metadata error 
cast_receiver.js:18 
### Media Manager - LOAD METADATA ERROR: {"senderId":"6:client-4751","message":{"requestId":82952020,"sessionId":"0EAD5DA1-2932-1687-B2EA-0C84D1DFD165","media": "contentId":"server_ip/hls_rec/master.m3u8","streamType":"BUFFERED","contentType":"application/vnd.apple.mpegurl"},"autoplay":true,"currentTime":0,"customData":{"payload":{"title":"Gravlab HLS"}}}} 
下面

完整的日誌:

[273.342s] [cast.receiver.IpcChannel] IPC message sent: {"namespace":"urn:x-cast:com.google.cast.media","senderId":"*:*","data":"{\"type\":\"MEDIA_STATUS\",\"status\":[{\"mediaSessionId\":1,\"playbackRate\":1,\"playerState\":\"IDLE\",\"currentTime\":0,\"supportedMediaCommands\":15,\"volume\":{\"level\":1,\"muted\":false},\"idleReason\":\"INTERRUPTED\"}],\"requestId\":0}"} cast_receiver.js:18 

### Media Manager - LOAD: {"type":"load","H":false,"defaultPrevented":false,"cb":true,"data":{"requestId":82952020,"sessionId":"0EAD5DA1-2932-1687-B2EA-0C84D1DFD165","media":{"contentId":"server_ip/hls_rec/master.m3u8","streamType":"BUFFERED","contentType":"application/vnd.apple.mpegurl"},"autoplay":true,"currentTime":0,"customData":{"payload":{"title":"Gravlab HLS"}}},"senderId":"6:client-4751"} mpl.js:559 
[273.096s] [cast.player.api.Player] unload 
media_player.js:24 
### Media Protocol Identified as HLS mpl.js:642 
[273.123s] [cast.player.api.Player] Version: 0.7.0.5 
media_player.js:24 
[273.129s] [cast.player.api.Player] load 
media_player.js:24 
######### MEDIA ELEMENT LOAD START mpl.js:57 
[273.262s] [goog.net.XhrIo] Opening Xhr [GET server_ip/hls_rec/master.m3u8 -1] 
media_player.js:24 
[273.277s] [goog.net.XhrIo] Will abort after 30000ms if incomplete, xhr2 false [GET server_ip/hls_rec/master.m3u8 -1] 
media_player.js:24 
[273.282s] [goog.net.XhrIo] Sending request [GET server_ip/hls_rec/master.m3u8 -1] 
media_player.js:24 
[273.329s] [goog.net.XhrIo] Request complete [GET server_ip/hls_rec/master.m3u8 200] 
media_player.js:24 
[273.370s] [cast.player.core.QualityManager] 0: from undefined to 2265024 
media_player.js:24 
[273.376s] [cast.player.hls.Playlist] update: server_ip/hls_rec/01.m3u8 
media_player.js:24 
[273.381s] [goog.net.XhrIo] Opening Xhr [GET server_ip/hls_rec/01.m3u8 -1] 
media_player.js:24 
[273.386s] [goog.net.XhrIo] Will abort after 30000ms if incomplete, xhr2 false [GET server_ip/hls_rec/01.m3u8 -1] 
media_player.js:24 
[273.391s] [goog.net.XhrIo] Sending request [GET server_ip/hls_rec/01.m3u8 -1] 
media_player.js:24 
[273.511s] [goog.net.XhrIo] Request complete [GET server_ip/hls_rec/01.m3u8 200] 
media_player.js:24 
[273.567s] [cast.player.core.SegmentManager] 0: seek success 0 
media_player.js:24 
[273.574s] [goog.net.XhrIo] Opening Xhr [GET server_ip/hls_rec/1.ts -1] 
media_player.js:24 
[273.580s] [goog.net.XhrIo] Will abort after 10000ms if incomplete, xhr2 false [GET server_ip/hls_rec/1.ts -1] 
media_player.js:24 
[273.585s] [goog.net.XhrIo] Sending request [GET server_ip/hls_rec/1.ts -1] 
media_player.js:24 
[274.142s] [goog.net.XhrIo] Request complete [GET server_ip/hls_rec/1.ts 200] 
media_player.js:24 
[274.151s] [cast.player.core.QualityManager] 0: current=7802648.28, average=6090999.39 
media_player.js:24 
[274.171s] [cast.player.hls.Protocol] start: 3.2835444444444444 
media_player.js:24 
[274.177s] [cast.player.core.SourceBufferManager] 0: abort 
media_player.js:24 
[274.182s] [cast.player.core.SourceBufferManager] 0: timestampOffset = -3.2835444444444444 
media_player.js:24 
[274.187s] [cast.player.core.SourceBufferManager] 0: append 
media_player.js:24 
[274.205s] [goog.net.XhrIo] Opening Xhr [GET server_ip/hls_rec/2.ts -1] 
media_player.js:24 
[274.209s] [goog.net.XhrIo] Will abort after 10000ms if incomplete, xhr2 false [GET server_ip/hls_rec/2.ts -1] 
media_player.js:24 
[274.212s] [goog.net.XhrIo] Sending request [GET server_ip/hls_rec/2.ts -1] 
media_player.js:24 
Uncaught InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable. media_player.js:104 
######### MEDIA ELEMENT ERROR [object Event] mpl.js:153 
[274.530s] [cast.receiver.MediaManager] Load metadata error cast_receiver.js:18 
### Media Manager - LOAD METADATA ERROR: {"senderId":"6:client-4751","message":{"requestId":82952020,"sessionId":"0EAD5DA1-2932-1687-B2EA-0C84D1DFD165","media":{"contentId":"server_ip/hls_rec/master.m3u8","streamType":"BUFFERED","contentType":"application/vnd.apple.mpegurl"},"autoplay":true,"currentTime":0,"customData":{"payload":{"title":"Gravlab HLS"}}}} mpl.js:411 
[274.541s] [cast.receiver.MediaManager] Resetting media element cast_receiver.js:18 
[274.552s] [cast.receiver.MediaManager] Sending error message to 6:client-4751 cast_receiver.js:18 
[274.560s] [cast.receiver.IpcChannel] IPC message sent: {"namespace":"urn:x-cast:com.google.cast.media","senderId":"6:client-4751","data":"{\"requestId\":82952020,\"type\":\"LOAD_FAILED\"}"} cast_receiver.js:18 
[274.319s] [cast.player.api.Player] error 
media_player.js:24 ### HOST ERROR - Fatal Error: code = 1 mpl.js:622 
[274.331s] [cast.player.api.Player] unload  

任何想法,這個錯誤是什麼手段?視頻和音頻流的流格式是Chromecast媒體播放器支持的H.264視頻和AAC音頻.Content Streamed來自啓用CORS的IIS服務器。

在此先感謝

回答

1

也有一些是在流中,大約,進一步調試這一點,你需要打開我們的issue tracker票,包括您的流,所以我們可以調試玩家不開心。

+0

感謝您的回覆。我在問題跟蹤器中打開了一張票並上載了流。問題372:\t Uncaught InvalidStateError:在media_player.js投射hls流時 – ckdev 2014-09-07 21:31:50