mirror of
https://github.com/livekit/livekit.git
synced 2026-05-17 17:55:40 +00:00
26c96ec283
* Synthesise codec when adding pending track for no simulcast case also. Older clients not using simulcast codecs were failing e2e migration tests. Problem is that they did not have layer information and hence SSRC could not be set on migration. A codec was getting added later (when OnTrack was received). I missed adding layers in that code. Could have cloned layers there and added it. But, simplifying and adding at the start itself. Also, cleaning up code in `MediaTrackReceiver` for no codecs case as it should not happen any more. * clone per layer * fix priority determination