Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Anti-censorship
Pluggable Transports
Snowflake
Commits
82e5753b
Commit
82e5753b
authored
Oct 08, 2019
by
Cecylia Bocovich
Browse files
Reverted logging changes that require Go 1.13
parent
18d79379
Changes
2
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
82e5753b
...
...
@@ -13,7 +13,7 @@ addons:
-
gcc-5
go
:
-
1.1
3
.x
-
1.1
0
.x
env
:
-
TRAVIS_NODE_VERSION="8" CC="gcc-5" CXX="g++-5"
...
...
client/lib/webrtc.go
View file @
82e5753b
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment