forward fraction lost from subscriber to publisher (#142)
Co-authored-by: cnderrauber <zengjie9004@gmail.com>
This commit is contained in:
co-authored by
cnderrauber
parent
72bd394106
commit
8ff18e0326
@@ -298,6 +298,9 @@ func (t *MediaTrack) AddReceiver(receiver *webrtc.RTPReceiver, track *webrtc.Tra
|
||||
onclose()
|
||||
}
|
||||
})
|
||||
t.receiver.OnFractionLostFB(func(lost uint8) {
|
||||
buff.SetLastFractionLostReport(lost)
|
||||
})
|
||||
t.params.Stats.AddPublishedTrack(t.kind.String())
|
||||
}
|
||||
t.receiver.AddUpTrack(track, buff, t.shouldStartWithBestQuality())
|
||||
|
||||
Reference in New Issue
Block a user