android - Google Cast receiver returns 404 not found for all MP4 video URLs -
i trying load mp4 videos on registered styledmediareceiver through android sender app code:
mediametadata = new mediametadata( mediametadata.media_type_movie); mediametadata.putstring(mediametadata.key_title, "my video"); mediainfo = new mediainfo.builder( "https://commondatastorage.googleapis.com/gtv-videos- bucket/sample/designingforgooglecast.mp4") .setcontenttype("video/mp4") .setstreamtype(mediainfo.stream_type_buffered) .setmetadata(mediametadata).build(); try { mremotemediaplayer .load(mgoogleapiclient, mediainfo, true) }
however, receiver logs 404 not found error link mp4 video. log get:
failed load resource: server responded status of 404 (not found) cast_receiver.js:37 [ 0.266s] [cast.receiver.castreceivermanager] version: 2.0.0.0029 cast_receiver.js:37 [ 0.317s] [goog.net.websocket] opening websocket on ws://localhost:8008/v2/ipc cast_receiver.js:26 mixed content: page @ 'https://www.gstatic.com/eureka/player/player.html?skin' loaded on https, attempted connect insecure websocket endpoint 'ws://localhost:8008/v2/ipc'. endpoint should available via wss. insecure access deprecated. cast_receiver.js:26 connecting non-secure websocket server secure origin deprecated. cast_receiver.js:37 [ 0.385s] [goog.net.websocket] websocket opened on ws://localhost:8008/v2/ipc https://www.gstatic.com/eureka/player/undefined failed load resource: server responded status of 404 (not found)
can please point me towards solution problem?
Comments
Post a Comment