有些MP4没有在Chromecast中播放

时间:2013-11-06 22:32:36

标签: google-cast chromecast

我尝试在Chromecast上播放手机中的视频。有些MP4视频正在播放,有些还没有播放。加载媒体后,我看到以下错误。任何人都可以帮忙吗?

11-06 14:30:15.572:V / CastSampleActivity(6198):会话开始后获取频道

11-06 14:30:15.572:V / CastSampleActivity(6198):创建和附加消息流

11-06 14:30:15.582:V / CastSampleActivity(6198):在设备上加载选定的媒体

11-06 14:30:15.582:V / CastSampleActivity(6198):cmd created,player state = null

11-06 14:30:15.582:V / CastSampleActivity(6198):加载所选媒体已完成

11-06 14:30:16.763:E / MediaProtocolMessageStream(6198):错误解析消息:{“type”:“RESPONSE”,“cmd_id”:1,“status”:{“error”:{“domain “:”ramp“,”code“: - 2},”event_sequence“:3931}} org.json.JSONException:没有状态值

接收方错误:

[104.266s] [cast.receiver.ChannelOverWebSocket] Sending message: ["ramp",{"cmd_id":6,"type":"RESPONSE","status":{"event_sequence":145,"state":0,"content_id":"http://192.168.0.162:1234/storage/emulated/0/Video%20Highlight/Islandia.mp4","current_time":0,"duration":null,"volume":1,"muted":false,"time_progress":false,"title":"title"}}] from ws://localhost:8008/session?2

cast_receiver.js:66  [105.013s] [cast.receiver.RemoteMedia]从媒体元素收到错误事件

cast_receiver.js:66  [105.030s] [cast.receiver.ChannelOverWebSocket]发送消息:[“ramp”,{“cmd_id”:1,“type”:“RESPONSE”,“status”:{“event_sequence”:146,“error”:{ “domain”:“ramp”,“code”: - 2}}}]来自ws:// localhost:8008 / session?2

cast_receiver.js:66  [105.066s] [cast.receiver.RemoteMedia] getStatus

1 个答案:

答案 0 :(得分:0)

问题不在于chromecast。有些MP4视频没有加载chrome。在我尝试使用webm格式后,视频正在加载。