RTT (#420)
* Consolidating PLI throttle Use the throttler in `sfu.WebRTCReceiver`. Does change shape of config object. * Move PLIThrottleConfig to sfu.WebRTCReceiver * fix test compile * Cleaning up unused stuff * improve readability * RTT - Calculate down track RTT using RTCP Receiver report - Surface it back to the participant - Participant updates all its published trackes (throttled to limit update to once in 5 seconds) - That propagates to all the upstream sfu.Buffer and the nacker. So, we will have RTT throttled NACKs. * rtt callback
This commit is contained in:
@@ -236,3 +236,12 @@ func (t *MediaTrack) GetConnectionScore() float32 {
|
||||
|
||||
return receiver.(*sfu.WebRTCReceiver).GetConnectionScore()
|
||||
}
|
||||
|
||||
func (t *MediaTrack) SetRTT(rtt uint32) {
|
||||
receiver := t.Receiver()
|
||||
if receiver == nil {
|
||||
return
|
||||
}
|
||||
|
||||
receiver.(*sfu.WebRTCReceiver).SetRTT(rtt)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user