Update CI configs to v0.4.7

Update lint scripts and CI configs.
This commit is contained in:
Sean DuBois
2020-09-29 13:14:15 -07:00
committed by Sean DuBois
parent 0786371c1e
commit 804a12fed3
74 changed files with 518 additions and 346 deletions

View File

@@ -3,7 +3,6 @@
package webrtc
import (
"errors"
"time"
"github.com/pion/ice/v2"
@@ -166,7 +165,7 @@ func (e *SettingEngine) SetNAT1To1IPs(ips []string, candidateType ICECandidateTy
// Act as DTLS Server, wait for ClientHello
func (e *SettingEngine) SetAnsweringDTLSRole(role DTLSRole) error {
if role != DTLSRoleClient && role != DTLSRoleServer {
return errors.New("SetAnsweringDTLSRole must DTLSRoleClient or DTLSRoleServer")
return errSettingEngineSetAnsweringDTLSRole
}
e.answeringDTLSRole = role