diff options
author | David Fifield <david@bamsoftware.com> | 2023-11-21 01:27:09 +0000 |
---|---|---|
committer | David Fifield <david@bamsoftware.com> | 2023-11-21 01:27:09 +0000 |
commit | 234d9cb11c304b0442c642f7440037075b7cd3f8 (patch) | |
tree | 243a0a6b5f4cabf633bbb59704145d14efa3e5c0 | |
parent | a88f73b0ffd2d3db4a92360f1f265374d3ab5635 (diff) | |
download | snowflake-234d9cb11c304b0442c642f7440037075b7cd3f8.tar.gz snowflake-234d9cb11c304b0442c642f7440037075b7cd3f8.zip |
Link a section in the pion/webrtc@3.0.0 release notes.
-rw-r--r-- | client/lib/webrtc.go | 2 | ||||
-rw-r--r-- | 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) |