Do not skip due to large RR interval. (#3398)

* Do not skip due to large RR interval.

With sequence number adjustment, it will report some packets missing
which is fine.

* do not seed if already initialized
This commit is contained in:
Raja Subramanian
2025-02-04 11:08:38 +05:30
committed by GitHub
parent f45e3613ac
commit 7ff4082e4a
3 changed files with 9 additions and 35 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ func newRTPStatsBaseLite(params RTPStatsParams) *rtpStatsBaseLite {
}
func (r *rtpStatsBaseLite) seed(from *rtpStatsBaseLite) bool {
if from == nil || !from.initialized {
if from == nil || !from.initialized || r.initialized {
return false
}