eneim / toro

Video list auto playback made simple, specially built for RecyclerView
Apache License 2.0
1.42k stars 253 forks source link

Hls videos does not change its quality according to network bandwidth. #484

Closed Sumit123rox closed 4 years ago

Sumit123rox commented 4 years ago

I'm using MediaSourceBuilder.DEFAULT to setMediaSourceBuilder in exoConfig. But when I play the video it plays on high resolution. It does not change its quality according to bandwidth.

exoConfig = new im.ene.toro.exoplayer.Config.Builder(mInstance).setMediaSourceBuilder(MediaSourceBuilder.DEFAULT).setCache(cache) .setLoadControl(new DefaultLoadControl.Builder().setBufferDurationsMs( DefaultLoadControl.DEFAULT_MIN_BUFFER_MS, DefaultLoadControl.DEFAULT_MAX_BUFFER_MS, 1000, DefaultLoadControl.DEFAULT_BUFFER_FOR_PLAYBACK_AFTER_REBUFFER_MS ).createDefaultLoadControl()).build();

Please provide a solution for it.

androidvk commented 4 years ago

@Sumit123rox Do you have different qualities of videos stored in the server??

eneim commented 4 years ago

@Sumit123rox can you share a video url that has this issue so I can test on my end?

shiv71 commented 3 years ago

@Sumit123rox did you find any soloution for this i am having same issue.