check of 0 RTX payload in probe and use padding if 0 (#3269)

This commit is contained in:
Raja Subramanian
2024-12-19 09:18:32 +05:30
committed by GitHub
parent edb426bba4
commit 2088870d95
+1 -1
View File
@@ -2081,7 +2081,7 @@ func (d *DownTrack) retransmitPackets(nacks []uint16) {
}
func (d *DownTrack) WriteProbePackets(bytesToSend int, usePadding bool) int {
if d.ssrcRTX == 0 {
if d.payloadTypeRTX == 0 || d.ssrcRTX == 0 {
return d.WritePaddingRTP(bytesToSend, false, false)
}