mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Update for the latest go-webrtc
* From https://github.com/keroserene/go-webrtc/pull/59
This commit is contained in:
parent
fd217ffaab
commit
441cd8c80f
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ func (c *WebRTCPeer) establishDataChannel() error {
|
||||||
if c.transport != nil {
|
if c.transport != nil {
|
||||||
panic("Unexpected datachannel already exists!")
|
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
|
// Triggers "OnNegotiationNeeded" on the PeerConnection, which will prepare
|
||||||
// an SDP offer while other goroutines operating on this struct handle the
|
// an SDP offer while other goroutines operating on this struct handle the
|
||||||
// signaling. Eventually fires "OnOpen".
|
// signaling. Eventually fires "OnOpen".
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue