mirror of
				https://github.com/pion/webrtc.git
				synced 2025-10-31 18:52:55 +08:00 
			
		
		
		
	Fix all lint errors, move SDP code to proper package
This commit is contained in:
		| @@ -1,6 +1,7 @@ | ||||
| package webrtc | ||||
|  | ||||
| import ( | ||||
| 	"fmt" | ||||
| 	"time" | ||||
|  | ||||
| 	"github.com/pions/webrtc/pkg/ice" | ||||
| @@ -243,7 +244,10 @@ func (r *RTCPeerConnection) setICEServers(config RTCConfiguration) error { | ||||
| 			if err != nil { | ||||
| 				return err | ||||
| 			} | ||||
| 			r.networkManager.AddURL(&url) | ||||
| 			err = r.networkManager.AddURL(&url) | ||||
| 			if err != nil { | ||||
| 				fmt.Println(err) | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
| 	return nil | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sean DuBois
					Sean DuBois