versatica / mediasoup

Cutting Edge WebRTC Video Conferencing
https://mediasoup.org
ISC License
6.27k stars 1.13k forks source link

Allow control (debouncing) of how often mediasoup attempts to switch layers (up/down) for consumers automatically. #1462

Open namello-gather opened 1 week ago

namello-gather commented 1 week ago

Feature Request

I'm looking for a way to essentially configure a delay/debounce time to prevent mediasoup from too aggressively switching simulcast layers when the network is bad.

Right now mediasoup will almost immediately try again, which can cause more problems and worse video quality.

I would like to configure a delay/debounce for layer changes to smooth the transition.

e.g: 20s at a lower layer before attempting to go higher if possible.