aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Fifield <david@bamsoftware.com>2023-11-21 01:27:09 +0000
committerDavid Fifield <david@bamsoftware.com>2023-11-21 01:27:09 +0000
commit234d9cb11c304b0442c642f7440037075b7cd3f8 (patch)
tree243a0a6b5f4cabf633bbb59704145d14efa3e5c0
parenta88f73b0ffd2d3db4a92360f1f265374d3ab5635 (diff)
downloadsnowflake-234d9cb11c304b0442c642f7440037075b7cd3f8.tar.gz
snowflake-234d9cb11c304b0442c642f7440037075b7cd3f8.zip
Link a section in the pion/webrtc@3.0.0 release notes.
-rw-r--r--client/lib/webrtc.go2
-rw-r--r--proxy/lib/snowflake.go2
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)