I am trying to reproduce MPEG DASH, HLS and HSS(HTTP SmoothStreaming) streams by using modified sample applications provided by Google, but for now, only DASH is working. I use: https://github.com/googlecast/cast-custom-receiver and https://github.com/googlecast/CastVideos-android
As i see here https://developers.google.com/cast/docs/player?hl=en all protocols (HSS, HLS, DASH) should work without problems.
When i try to stream HSS and HLS i get this in Sample Media Receiver HUD:
Media Element State: "Error" (or "Abort") . . . Host State: "Fatal Error: code = 1"
Does anyone know what that error represents? Also, sometimes i get this "Fatal Error: code = 0".
//UPDATE
I get this error when i try to cast HSS: [2648.568s] [cast.receiver.MediaManager] Load metadata error cast_receiver.js:19 and the link is : http://video3.smoothhd.com/ondemand/Turner_Sports_PGA.ism/Manifest
//UPDATE
HLS is working now. Problem is solved by setting CORS headers.