Seed duplicate packets and bytes. (#3124)
Had missed this before. This could have cause retransmit packets/bytes to be high.
This commit is contained in:
@@ -203,12 +203,12 @@ func (r *RTPStatsSender) Seed(from *RTPStatsSender) {
|
||||
|
||||
r.snInfos = from.snInfos
|
||||
|
||||
r.layerLockPlis = from.layerLockPlis
|
||||
r.lastLayerLockPli = from.lastLayerLockPli
|
||||
|
||||
r.nextSenderSnapshotID = from.nextSenderSnapshotID
|
||||
r.senderSnapshots = make([]senderSnapshot, cap(from.senderSnapshots))
|
||||
copy(r.senderSnapshots, from.senderSnapshots)
|
||||
|
||||
r.layerLockPlis = from.layerLockPlis
|
||||
r.lastLayerLockPli = from.lastLayerLockPli
|
||||
}
|
||||
|
||||
func (r *RTPStatsSender) NewSnapshotId() uint32 {
|
||||
|
||||
Reference in New Issue
Block a user