Cleaning up smoothed OWD calculation for sender report. (#1684)

* Keep track of expected RTP time stamp and control drift.

- Use monotonic clock in RTCP Sender Report and packet times
- Keep the time stamp close to expected time stamp on layer/SSRC
  switches

* clean up

* fix test compile

* more test compile failures

* anticipatory clean up

* further clean up

* add received sender report logging
This commit is contained in:
Raja Subramanian
2023-05-05 13:14:12 +05:30
committed by GitHub
parent e00ff50cd6
commit 25d6fd751f
7 changed files with 80 additions and 167 deletions
+1 -1
View File
@@ -1113,7 +1113,7 @@ func (d *DownTrack) CreateSenderReport() *rtcp.SenderReport {
return nil
}
return d.rtpStats.GetRtcpSenderReport(d.ssrc, d.receiver.GetRTCPSenderReportDataExt(d.forwarder.GetReferenceLayerSpatial()))
return d.rtpStats.GetRtcpSenderReport(d.ssrc)
}
func (d *DownTrack) writeBlankFrameRTP(duration float32, generation uint32) chan struct{} {