From 234d9cb11c304b0442c642f7440037075b7cd3f8 Mon Sep 17 00:00:00 2001 From: David Fifield Date: Tue, 21 Nov 2023 01:27:09 +0000 Subject: [PATCH] Link a section in the pion/webrtc@3.0.0 release notes. --- client/lib/webrtc.go | 2 +- proxy/lib/snowflake.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)