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
-4
View File
@@ -240,10 +240,6 @@ func newRTPStatsBase(params RTPStatsParams) *rtpStatsBase {
}
func (r *rtpStatsBase) seed(from *rtpStatsBase) bool {
if from == nil || !from.initialized {
return false
}
if !r.rtpStatsBaseLite.seed(from.rtpStatsBaseLite) {
return false
}