Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to play smooth streaming video in Chromecast?

According the Chromecast Developers page, Chromecast supports the SmoothStreaming container, which I believe uses video chunks with the .ismv extension. I am having problems getting those video files to play.

If I am not mistaken, Chrome/Chromecasts's implementation of the video tag only supports .mp4 and .webm files, so using cast.MediaLoadRequest (in a Chrome Sender App) would not work if you pass it a url for a manifest file or .ismv container.

It does seem possible to write code that stitches together MPEG-DASH chunks using the MediaSource API from a MPEG-DASH manifest file. However, it doesn't appear that Chrome's implementation of the MediaSource spec supports .ismv chunks and therefore a means to play smooth streaming video.

Assuming you parsed a manifest file to get the smooth streaming video chunks, how would it be possible for Chromecast to play .ismv h.264 containers, such as the ones that can be found here? Or does Chrome not support .ismv files? If so, what SmoothStreaming containers does Chrome/Chromecast support?

like image 241
AdrenGarage Avatar asked Nov 13 '22 00:11

AdrenGarage


1 Answers

Chromecast supports MPEG-DASH and Smooth Streaming. See more detail here:

https://developers.google.com/cast/supported_media_types

We'll provide some code snippet of smooth streaming soon. Stay tuned.

like image 170
ssgg Google Developer Platform Avatar answered Jan 04 '23 03:01

ssgg Google Developer Platform