Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch between Audio Only to Audio Video Variants or vice versa in HLS #545

Open
Srinidhikandi opened this issue Jun 15, 2015 · 6 comments

Comments

@Srinidhikandi
Copy link

Srinidhikandi commented Jun 15, 2015

For m3u8 master playlists containing Both audio only and Audio Variants , i do not notice the switch between AudioOnly to AV or ViceVersa when the bandwidth is throttled.

example:
The below playlist has both Audio only and AV playlists.

playertest.longtailvideo.com/adaptive/oceans_aes/oceans_aes.m3u8

#EXTM3U
#EXT-X-VERSION:1
## Created with Unified Streaming Platform(version=1.6.7)

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=319060,CODECS="mp4a.40.2,avc1.66.30",RESOLUTION=304x128
oceans_aes-audio=65000-video=236000.m3u8

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=461100,CODECS="mp4a.40.2,avc1.66.30",RESOLUTION=384x160
oceans_aes-audio=65000-video=370000.m3u8

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=674160,CODECS="mp4a.40.2,avc1.66.30",RESOLUTION=544x224
oceans_aes-audio=65000-video=571000.m3u8

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=999580,CODECS="mp4a.40.2,avc1.66.30",RESOLUTION=736x304
oceans_aes-audio=65000-video=878000.m3u8

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1489300,CODECS="mp4a.40.2,avc1.66.30",RESOLUTION=960x400
oceans_aes-audio=65000-video=1340000.m3u8

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2233420,CODECS="mp4a.40.2,avc1.66.31",RESOLUTION=1264x528
oceans_aes-audio=65000-video=2042000.m3u8

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=68900,CODECS="mp4a.40.2"
oceans_aes-audio=65000.m3u8

When the bandwidth is throttled to less than 65000 , the player should play back Audio only content . And later shift back to AV when the bandwidth increases.

@Srinidhikandi Srinidhikandi changed the title Switch between Audio Only to Audio Video Variants or vice versa in AHLS Switch between Audio Only to Audio Video Variants or vice versa in HLS Jun 15, 2015
@ojw28
Copy link
Contributor

ojw28 commented Jun 15, 2015

We don't enable switching down into the audio only variant (i.e. we filter out audio-only variants if there exist variants with video). I understand that it's part of the spec, and that there are some use cases for it, but in many cases it's completely undesirable to adapt in this way.

@ojw28 ojw28 added the question label Jun 15, 2015
@Srinidhikandi
Copy link
Author

Ok..

  1. could you give some pointers on how to acheive this ?
  2. Is it possible to acheive seamless switch

@ghost
Copy link

ghost commented Jun 17, 2015

+1 I need it, too

@carloshwa
Copy link

Any update on this, or is it possible with ExoPlayer 2 now?

@AquilesCanta
Copy link
Contributor

Not yet, guys, sorry.

@shubhamvashisht
Copy link

is it possible to do now?

@AquilesCanta AquilesCanta assigned tianyif and unassigned AquilesCanta Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants