【发布时间】:2018-07-11 02:31:18
【问题描述】:
我一直在尝试使用 Chromecast。我遇到了播放问题。
前 5-6 分钟左右,没关系。都是一堆 PROGRESS、TIME_UPDATE、SEGMENT_DOWNLOADED。
player.html?cache=500:102 aj {type: "PROGRESS", currentMediaTime: 398.742094}
player.html?cache=500:102 jj {type: "SEGMENT_DOWNLOADED", downloadTime: 175, size: 33646}
player.html?cache=500:102 aj {type: "TIME_UPDATE", currentMediaTime: 398.9985}
[Violation] 'setInterval' 处理程序耗时 229 毫秒
player.html?cache=500:102 aj {type: "PROGRESS", currentMediaTime: 401.334166} `
player.html?cache=500:102 aj {type: "TIME_UPDATE", currentMediaTime: 401.510657}
cast_receiver_framework.js:48 [Violation] 'timeupdate' 处理程序耗时 455 毫秒
[Violation] 'setTimeout' 处理程序耗时 1131 毫秒
cast_receiver_framework.js:66 [440.120s] [cast.receiver.MediaManager] 时间漂移:-4588.799999999999
cast_receiver_framework.js:66 [440.800s] [cast.receiver.MediaManager] 发送广播状态消息
cast_receiver_framework.js:66 [440.954s] [cast.receiver.IpcChannel] IPC 消息发送:{"namespace":"urn:x-cast:com.google.cast.media","senderId":":","data":"{\"type\":\"MEDIA_STATUS\",\"status\":[{\"mediaSessionId\":1,\"playbackRate\":1 ,\"playerState\":\"PLAYING\",\"currentTime\":408.382866,\"supportedMediaCommands\":15,\"volume\":{\"level\":1,\"muted\": false},\"activeTrackIds\":[],\"currentItemId\":1,\"repeatMode\":\"REPEAT_OFF\"}],\"requestId\":0}"}
[Violation] 'setTimeout' 处理程序耗时 1043 毫秒
[Violation] 'updateend' 处理程序耗时 177 毫秒
大多数情况下,“时间漂移”消息与玩家停止的那一刻相匹配,并且永远无法恢复,所以我猜它与问题有关。
然后,服务器通常会花费越来越多的时间来响应块请求(20-60 秒),并且播放将永远不会恢复。我不确定服务器部分与该问题有何关系。这让我很困惑。
任何关于如何调试的建议都将不胜感激。
【问题讨论】:
-
您应该提供一个示例流并针对 Cast SDK 提出问题:issuetracker.google.com/…
标签: chromecast google-cast widevine google-cast-sdk