mirror of
https://github.com/livekit/livekit.git
synced 2026-05-25 20:45:13 +00:00
83b71fce50
- SenderSSRC was not set for NACK, RTCP_RR - so SRTP context was using SSRC = 0 which is not bad, but let us set the SSRC properly. - PLI was using a random SSRC on every PLI. So, that would have created a new SRTP stream (not bad as that stream context is small) on every PLI. It is wasteful. So, set the SenderSSRC to the mediaSSRC. - Reduce re-start of higher layers to 10 seconds. That is long enough to declare that a stream layer has restarted.