Commit 441cd8c8 authored by Arlo Breault's avatar Arlo Breault
Browse files

Update for the latest go-webrtc

 * From https://github.com/keroserene/go-webrtc/pull/59
parent fd217ffa
......@@ -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".
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment