Will Chromecast device play videos encoded as HLS?

2019-04-11 17:40发布

问题:

It apparently works on Google TV (for Android apps, not html5 apps), so I'm curious if we'll be able to encode them as HLS (Http Live Streaming) for use with Chromecast?

回答1:

It will now according to the updated SDK docs: https://developers.google.com/cast/docs/media

I'm guessing for contentType on MediaInfo you'll pass application/x-mpegURL.



回答2:

HLS is not yet built into the platform, however support for MPEG DASH, Smooth Streaming and progressive MP4 streaming are there.

UPDATE - THIS WAS THE CORRECT ANSWER AT THE TIME -- IT IS SUPPORTED NOW.



回答3:

According to the new docs it is now supported !

https://developers.google.com/cast/docs/media



回答4:

No, according to the documentation Chromecast supports two HTTP streaming standards: MPEG-DASH (by the MPEG standards group) and SmoothStreaming (by Microsoft). Looks like Apple's HLS is not supported.