Set SSRC for RTCP (#760)
- 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.
This commit is contained in:
@@ -25,13 +25,13 @@ var (
|
||||
},
|
||||
{
|
||||
SamplesRequired: 5,
|
||||
CyclesRequired: 60,
|
||||
CyclesRequired: 20,
|
||||
CycleDuration: 500 * time.Millisecond,
|
||||
BitrateReportInterval: 1 * time.Second,
|
||||
},
|
||||
{
|
||||
SamplesRequired: 5,
|
||||
CyclesRequired: 60,
|
||||
CyclesRequired: 20,
|
||||
CycleDuration: 500 * time.Millisecond,
|
||||
BitrateReportInterval: 1 * time.Second,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user