mirror of
https://github.com/livekit/livekit.git
synced 2026-04-29 19:05:30 +00:00
a35eecd03d
In the following order, got the wrong layer - Max layer is 0, max published is 0, request layer is 0 - Current locks to 0. - Max changes to 1. Nothing changes as 1 is not published yet. - Max published changes to 1. - As curernt layer is valid, available and locked to request layer, it was kept. But, it should have checked if the request layer changed and updated accordingly.