Dampen stream allocator (#551)
* WIP commit * WIP commit * WIP commit * format * NACK window * Remove layer when it is expected to stop * Remove debug
This commit is contained in:
@@ -1056,10 +1056,6 @@ func (d *DownTrack) retransmitPackets(nacks []uint16) {
|
||||
nackMisses := uint32(0)
|
||||
for _, meta := range d.sequencer.getPacketsMeta(filtered) {
|
||||
if meta.layer == int8(InvalidLayerSpatial) {
|
||||
if meta.nacked > 1 {
|
||||
numRepeatedNACKs++
|
||||
}
|
||||
|
||||
// padding packet, no RTX for those
|
||||
continue
|
||||
}
|
||||
@@ -1279,7 +1275,7 @@ func (d *DownTrack) getQualityParams() *buffer.ConnectionQualityParams {
|
||||
}
|
||||
|
||||
func (d *DownTrack) GetNackStats() (totalPackets uint32, totalRepeatedNACKs uint32) {
|
||||
totalPackets = d.rtpStats.GetTotalPacketsSansDuplicate()
|
||||
totalPackets = d.rtpStats.GetTotalPacketsPrimary()
|
||||
|
||||
d.statsLock.RLock()
|
||||
totalRepeatedNACKs = d.totalRepeatedNACKs
|
||||
|
||||
Reference in New Issue
Block a user