mirror of
https://gitlab.com/comunic/ComunicRTCProxy
synced 2025-06-19 16:45:16 +00:00
Avoid repeated error
This commit is contained in:
2
relay.go
2
relay.go
@ -206,6 +206,8 @@ func newCall(mainOffer receivedSignal, r activeRelay) {
|
||||
|
||||
if rtcpSendErr := mainPeerConnection.WriteRTCP([]rtcp.Packet{&rtcp.PictureLossIndication{MediaSSRC: remoteTrack.SSRC()}}); rtcpSendErr != nil {
|
||||
fmt.Println("Write RTCP error:", rtcpSendErr)
|
||||
askForClose(r)
|
||||
return
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
Reference in New Issue
Block a user