Commit 82e5753b authored by Cecylia Bocovich's avatar Cecylia Bocovich
Browse files

Reverted logging changes that require Go 1.13

parent 18d79379
......@@ -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"
......
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment