mirror of
https://github.com/livekit/livekit.git
synced 2026-08-28 09:24:08 +00:00
Do not send RTCP if receiver is closed (#438)
This commit is contained in:
@@ -367,6 +367,10 @@ func (w *WebRTCReceiver) DeleteDownTrack(peerID livekit.ParticipantID) {
|
||||
}
|
||||
|
||||
func (w *WebRTCReceiver) sendRTCP(packets []rtcp.Packet) {
|
||||
if w.closed.get() {
|
||||
return
|
||||
}
|
||||
|
||||
w.rtcpCh <- packets
|
||||
|
||||
for _, p := range packets {
|
||||
|
||||
Reference in New Issue
Block a user