check of 0 RTX payload in probe and use padding if 0 (#3269)
This commit is contained in:
@@ -2081,7 +2081,7 @@ func (d *DownTrack) retransmitPackets(nacks []uint16) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (d *DownTrack) WriteProbePackets(bytesToSend int, usePadding bool) int {
|
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)
|
return d.WritePaddingRTP(bytesToSend, false, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user