Remove callbacks queue from sfu/buffer. (#650)

This commit is contained in:
Raja Subramanian
2022-04-24 21:39:28 +05:30
committed by GitHub
parent 26700ea135
commit 0a802077dd
3 changed files with 25 additions and 33 deletions
+1 -1
View File
@@ -277,7 +277,7 @@ func (w *WebRTCReceiver) AddUpTrack(track *webrtc.TrackRemote, buff *buffer.Buff
ObserveDuration: w.audioConfig.UpdateInterval,
SmoothIntervals: w.audioConfig.SmoothIntervals,
})
buff.OnFeedback(w.sendRTCP)
buff.OnRtcpFeedback(w.sendRTCP)
var duration time.Duration
switch track.RID() {