Hi Android team,

We know HLS supports adaptive bitrate streaming/or multi-rate streaming/or 
variant streams. It can calculate user's bandwidth in real-time and adjust 
the quality of a video stream accordingly.

A typical master playlist m3u8 file should be like this below:

   #EXTM3U
   #EXT-X-STREAM-INF:BANDWIDTH=1280000,AVERAGE-BANDWIDTH=1000000
   http://example.com/low.m3u8
   #EXT-X-STREAM-INF:BANDWIDTH=2560000,AVERAGE-BANDWIDTH=2000000
   http://example.com/mid.m3u8
   #EXT-X-STREAM-INF:BANDWIDTH=7680000,AVERAGE-BANDWIDTH=6000000
   http://example.com/hi.m3u8
   #EXT-X-STREAM-INF:BANDWIDTH=65000,CODECS="mp4a.40.5"
   http://example.com/audio-only.m3u8


I know Android can switch smoothly between audio-video streams, but how 
about audio-video stream to audio-only stream?

So, my question is can Android switch stream from audio-video to audio-only 
in the following situations:
1. audio-only stream is in ts format, master m3u8 file has specified 
audio-only stream's codec info with CODECS attribute like the m3u8 file 
above.
2. audio-only stream is in ts format, but master m3u8 hasn't specify the 
audio-only stream's codec info, no CODECS attribute.
3. audio-only stream is in aac format, msater m3u8 file has specified 
audio-only stream's codec info with CODECS attribute.
4. audio-only stream is in aac format, master m3u8 file hasn't specify the 
audio-only stream's codec info, no CODECS attribute.

Could anyone give me some suggestions?

Thanls a lot :)

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to android-discuss@googlegroups.com.
Visit this group at https://groups.google.com/group/android-discuss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-discuss/ccebdf20-e8db-40ec-a1b6-28fa30ef3562%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to