diff --git a/client/lib/webrtc.go b/client/lib/webrtc.go index 2b46ef6..a340be9 100644 --- a/client/lib/webrtc.go +++ b/client/lib/webrtc.go @@ -234,7 +234,7 @@ func (c *WebRTCPeer) preparePeerConnection(config *webrtc.Configuration) error { Ordered: &ordered, } // We must create the data channel before creating an offer - // https://github.com/pion/webrtc/wiki/Release-WebRTC@v3.0.0 + // https://github.com/pion/webrtc/wiki/Release-WebRTC@v3.0.0#a-data-channel-is-no-longer-implicitly-created-with-a-peerconnection dc, err := c.pc.CreateDataChannel(c.id, dataChannelOptions) if err != nil { log.Printf("CreateDataChannel ERROR: %s", err) diff --git a/proxy/lib/snowflake.go b/proxy/lib/snowflake.go index 82a1780..b8d8930 100644 --- a/proxy/lib/snowflake.go +++ b/proxy/lib/snowflake.go @@ -525,7 +525,7 @@ func (sf *SnowflakeProxy) makeNewPeerConnection(config webrtc.Configuration, } // Must create a data channel before creating an offer - // https://github.com/pion/webrtc/wiki/Release-WebRTC@v3.0.0 + // https://github.com/pion/webrtc/wiki/Release-WebRTC@v3.0.0#a-data-channel-is-no-longer-implicitly-created-with-a-peerconnection dc, err := pc.CreateDataChannel("test", &webrtc.DataChannelInit{}) if err != nil { log.Printf("CreateDataChannel ERROR: %s", err)