ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

How to update buffer policy parameters during playback in LoadControl

Open harshitwynk opened this issue 8 years ago • 1 comments

Hi

I have a use case where I'm having different buffer policy params (minBufferMs,maxBufferMs) for different network conditions. Lets say for a 4G network I,m having minBufferMs = 30000 & maxBufferMs = 60000 . and for a 3G or lower network minBufferMs = 60000 & maxBufferMs = 300000.

So my question is we have to set the buffer policy params in LoadControl which we set while creating the ExoPlayer instance. Then how will I update the buffer params during playback when the network conditions change as there is no setter method or update method on LoadControl API.

ExoPlayer version used - 2.8.2

harshitwynk avatar Jul 30 '18 11:07 harshitwynk

duplicate #2804

erdemguven avatar Aug 01 '18 09:08 erdemguven