mirror of
				https://gitlab.com/comunic/ComunicRTCProxy
				synced 2025-11-04 12:14:11 +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