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
441cd8c8
Commit
441cd8c8
authored
Oct 12, 2017
by
Arlo Breault
Browse files
Update for the latest go-webrtc
* From
https://github.com/keroserene/go-webrtc/pull/59
parent
fd217ffa
Changes
1
Hide whitespace changes
Inline
Side-by-side
client/webrtc.go
View file @
441cd8c8
...
...
@@ -197,7 +197,7 @@ func (c *WebRTCPeer) establishDataChannel() error {
if
c
.
transport
!=
nil
{
panic
(
"Unexpected datachannel already exists!"
)
}
dc
,
err
:=
c
.
pc
.
CreateDataChannel
(
c
.
id
,
webrtc
.
Init
{}
)
dc
,
err
:=
c
.
pc
.
CreateDataChannel
(
c
.
id
)
// Triggers "OnNegotiationNeeded" on the PeerConnection, which will prepare
// an SDP offer while other goroutines operating on this struct handle the
// signaling. Eventually fires "OnOpen".
...
...
Write
Preview
Markdown
is supported
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