google / ExoPlayer

This project is deprecated and stale. The latest ExoPlayer code is available in https://github.com/androidx/media
https://developer.android.com/media/media3/exoplayer
Apache License 2.0
21.75k stars 6.03k forks source link

How to limit the interval between change bitrate for HLS stream? #11354

Closed felixyangtw closed 11 months ago

felixyangtw commented 11 months ago

I use exoplayer 2.18.7 to play hls stream. I found a phenomenon. If the network bandwidth change rapidly. The adaptive bitrate will change frequently sometimes. I found it change to one bitrate and change to next bitrate immediately(<1s). Is there any way to limit the interval between two bitrate changing?I mean that when exoplayer change to one bitrate and keep playing at the bitrate for an assigned interval and do next bitrate changing?

tonihei commented 11 months ago

The com.google.android.exoplayer2 project is now deprecated. We are not accepting any new issues in this project. Please file your issue in the androidx.media3 GitHub project instead: https://github.com/androidx/media/issues

Please also provide more details of any customizations you've done (e.g. parameters in AdaptiveTrackSelection.Factory if any) and details about the media you are using to better understand the context.