我正在开发一个带有chromecast的Android应用程序,但我遇到了以下问题:有时候,不是所有内容都会发生,Chromecast上的流媒体会冻结
首先会显示加载图标,然后应用程序将断开连接。
通过chrome检查我注意到,当日志中出现此问题时,我看到" media_player.js:66 [243.371s] [cast.player.api.Player]自动暂停9.141388"
下面我附上完整的日志
有没有人遇到过这个问题?
谢谢
[241.318s] [cast.player.api.Player] time=7.059666
media_player.js:66 [241.730s] [cast.player.api.Player] time=7.510815
media_player.js:66 [242.142s] [cast.player.api.Player] time=7.839411
media_player.js:66 [242.551s] [cast.player.api.Player] time=8.319704
media_player.js:66 [242.955s] [cast.player.api.Player] time=8.619488
media_player.js:66 [243.371s] [cast.player.api.Player] auto pause 9.141388
media_player.js:66 [249.923s] [goog.net.XhrIo] Request complete [GET https://2uscreativem3-vh.akamaihd.net/i/podcastcdn/teche_root/YT_ITALIA_TECHE_HD/8921590_,250,400,700,1200,.mp4.csmil/segment2_3_av.ts 200]
media_player.js:66 [250.011s] [cast.player.core.QualityManager] 0: current=3808308.17, average=3521163.55
media_player.js:66 [250.018s] [cast.player.core.SegmentManager] 0: process segment
media_player.js:66 [250.022s] [cast.player.hls.Adaptation] process segment
media_player.js:66 [250.457s] [cast.player.core.SegmentManager] 0: segment processed
media_player.js:66 [250.466s] [cast.player.core.SourceBufferManager] 0: adjustTime: 10 : 9.720489
media_player.js:66 [250.471s] [cast.player.core.SourceBufferManager] 0: append failed QuotaExceededError: Failed to execute 'appendBuffer' on 'SourceBuffer': The SourceBuffer is full, and cannot free space to append additional buffers.
media_player.js:66 [250.474s] [cast.player.core.SourceBufferManager] 0: delay append, append to deferred queue
media_player.js:66 [250.479s] [cast.player.core.SourceBufferManager] 0: set up interval to processDeferred_ 1242
media_player.js:66 [250.487s] [cast.player.core.SegmentManager] 0: send request to get segment.
media_player.js:66 [250.495s] [goog.net.XhrIo] Opening Xhr [GET https://2uscreativem3-vh.akamaihd.net/i/podcastcdn/teche_root/YT_ITALIA_TECHE_HD/8921590_,250,400,700,1200,.mp4.csmil/segment3_3_av.ts -1]
media_player.js:66 [250.501s] [goog.net.XhrIo] Will abort after 20000ms if incomplete, xhr2 false [GET https://2uscreativem3-vh.akamaihd.net/i/podcastcdn/teche_root/YT_ITALIA_TECHE_HD/8921590_,250,400,700,1200,.mp4.csmil/segment3_3_av.ts -1]
media_player.js:66 [250.509s] [goog.net.XhrIo] Sending request [GET https://2uscreativem3-vh.akamaihd.net/i/podcastcdn/teche_root/YT_ITALIA_TECHE_HD/8921590_,250,400,700,1200,.mp4.csmil/segment3_3_av.ts -1]
media_player.js:66 [250.524s] [cast.player.api.Player] auto resume 9.141388
media_player.js:66 [250.543s] [cast.player.api.Player] time=9.141388
media_player.js:66 [250.949s] [cast.player.api.Player] time=9.512988
media_player.js:66 [251.359s] [cast.player.api.Player] time=9.512988
media_player.js:66 [251.766s] [cast.player.api.Player] time=9.512988
media_player.js:66 [252.182s] [cast.player.api.Player] time=9.512988
media_player.js:66 [252.480s] [cast.player.core.SourceBufferManager] 0: dequeue append
media_player.js:66 [252.482s] [cast.player.core.SourceBufferManager] 0: adjustTime: 10 : 9.720489
media_player.js:66 [252.517s] [cast.player.core.SourceBufferManager] 0: append failed QuotaExceededError: Failed to execute 'appendBuffer' on 'SourceBuffer': The SourceBuffer is full, and cannot free space to append additional buffers.
media_player.js:66 [252.523s] [cast.player.core.SourceBufferManager] 0: delay append, append to deferred queue
media_player.js:66 [252.602s] [cast.player.api.Player] time=9.512988
media_player.js:66 [253.022s] [cast.player.api.Player] time=9.512988
media_player.js:66 [253.439s] [cast.player.api.Player] time=9.512988
media_player.js:66 [253.846s] [cast.player.api.Player] time=9.512988
media_player.js:66 [253.872s] [cast.player.api.Player] playback stalled in buffered region
ie @ media_player.js:66
ge.xk @ media_player.js:66
Qb.log @ media_player.js:21
F @ media_player.js:35
h.Eg @ media_player.js:369
h.Wh @ media_player.js:370
media_player.js:66 [254.002s] [cast.player.api.Player] seeking
media_player.js:66 [254.357s] [cast.player.api.Player] time=10.012988
media_player.js:66 [254.489s] [cast.player.core.SourceBufferManager] 0: dequeue append
media_player.js:66 [254.505s] [cast.player.core.SourceBufferManager] 0: adjustTime: 10 : 9.720489
media_player.js:66 [254.535s] [cast.player.core.SourceBufferManager] 0: append failed QuotaExceededError: Failed to execute 'appendBuffer' on 'SourceBuffer': The SourceBuffer is full, and cannot free space to append additional buffers.
media_player.js:66 [254.540s] [cast.player.core.SourceBufferManager] 0: delay append, append to deferred queue
media_player.js:66 [254.804s] [cast.player.api.Player] time=10.012988
media_player.js:66 [255.232s] [cast.player.api.Player] time=10.012988
media_player.js:66 [255.497s] [goog.net.XhrIo] Request complete [GET https://2uscreativem3-vh.akamaihd.net/i/podcastcdn/teche_root/YT_ITALIA_TECHE_HD/8921590_,250,400,700,1200,.mp4.csmil/segment3_3_av.ts 200]
media_player.js:66 [255.533s] [cast.player.core.QualityManager] 0: current=3002925.98, average=3106573.49
media_player.js:66 [255.566s] [cast.player.core.SegmentManager] 0: process segment
media_player.js:66 [255.582s] [cast.player.hls.Adaptation] process segment
media_player.js:66 [255.645s] [cast.player.core.SegmentManager] 0: segment processed
media_player.js:66 [255.651s] [cast.player.core.SourceBufferManager] 0: delay append, append to deferred queue
media_player.js:66 [255.666s] [cast.player.core.SegmentManager] 0: send request to get segment.
media_player.js:66 [255.678s] [goog.net.XhrIo] Opening Xhr [GET https://2uscreativem3-vh.akamaihd.net/i/podcastcdn/teche_root/YT_ITALIA_TECHE_HD/8921590_,250,400,700,1200,.mp4.csmil/segment4_3_av.ts -1]
media_player.js:66 [255.685s] [goog.net.XhrIo] Will abort after 20000ms if incomplete, xhr2 false [GET https://2uscreativem3-vh.akamaihd.net/i/podcastcdn/teche_root/YT_ITALIA_TECHE_HD/8921590_,250,400,700,1200,.mp4.csmil/segment4_3_av.ts -1]
media_player.js:66 [255.693s] [goog.net.XhrIo] Sending request [GET https://2uscreativem3-vh.akamaihd.net/i/podcastcdn/teche_root/YT_ITALIA_TECHE_HD/8921590_,250,400,700,1200,.mp4.csmil/segment4_3_av.ts -1]
media_player.js:66 [255.714s] [cast.player.api.Player] time=10.012988