Avoid repeated error

This commit is contained in:
Pierre HUBERT 2020-04-11 16:41:20 +02:00
parent 584504b40c
commit 3a31b64c65

View File

@ -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
}
}
}()