commit 82e5753bcc719cac5b58908b9e11d14b27d5d330 Author: Cecylia Bocovich cohosh@torproject.org Date: Tue Oct 8 09:58:12 2019 -0400
Reverted logging changes that require Go 1.13 --- .travis.yml | 2 +- client/lib/webrtc.go | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/.travis.yml b/.travis.yml index cfec2a9..9ed48bb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ addons: - gcc-5
go: - - 1.13.x + - 1.10.x
env: - TRAVIS_NODE_VERSION="8" CC="gcc-5" CXX="g++-5" diff --git a/client/lib/webrtc.go b/client/lib/webrtc.go index e3245b6..7d361ef 100644 --- a/client/lib/webrtc.go +++ b/client/lib/webrtc.go @@ -9,7 +9,6 @@ import ( "time"
"github.com/dchest/uniuri" - "github.com/pion/logging" "github.com/pion/webrtc" )
@@ -156,13 +155,7 @@ func (c *WebRTCPeer) preparePeerConnection() error { c.pc = nil }
- logFactory := logging.NewDefaultLoggerFactory() - logFactory.DefaultLogLevel = logging.LogLevelError - logFactory.Writer = log.Writer() - - s := webrtc.SettingEngine{ - LoggerFactory: logFactory, - } + s := webrtc.SettingEngine{} s.SetTrickle(true) api := webrtc.NewAPI(webrtc.WithSettingEngine(s)) pc, err := api.NewPeerConnection(*c.config)