[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [snowflake/master] Update for the latest go-webrtc



commit 441cd8c80f362fc974e0548bf971cd45569d2662
Author: Arlo Breault <arlolra@xxxxxxxxx>
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".

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits