mirror of
				https://gitlab.com/comunic/ComunicRTCProxy
				synced 2025-10-31 18:24:25 +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 { | 				if rtcpSendErr := mainPeerConnection.WriteRTCP([]rtcp.Packet{&rtcp.PictureLossIndication{MediaSSRC: remoteTrack.SSRC()}}); rtcpSendErr != nil { | ||||||
| 					fmt.Println("Write RTCP error:", rtcpSendErr) | 					fmt.Println("Write RTCP error:", rtcpSendErr) | ||||||
|  | 					askForClose(r) | ||||||
|  | 					return | ||||||
| 				} | 				} | ||||||
| 			} | 			} | ||||||
| 		}() | 		}() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user