Fix all lint errors, move SDP code to proper package

This commit is contained in:
Sean DuBois
2018-08-10 22:07:52 -07:00
parent bf062e38b7
commit 938e490c39
9 changed files with 101 additions and 86 deletions

View File

@@ -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