[tor-commits] [snowflake/master] Update for the latest go-webrtc
arlo at torproject.org
arlo at torproject.org
Thu Oct 12 21:18:45 UTC 2017
commit 441cd8c80f362fc974e0548bf971cd45569d2662
Author: Arlo Breault <arlolra at gmail.com>
Date: Thu Oct 12 17:17:57 2017 -0400
Update for the latest go-webrtc
* From https://github.com/keroserene/go-webrtc/pull/59
---
client/webrtc.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/webrtc.go b/client/webrtc.go
index 0492466..0f80678 100644
--- a/client/webrtc.go
+++ b/client/webrtc.go
@@ -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".
More information about the tor-commits
mailing list