We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83cbc5a commit 164adb4Copy full SHA for 164adb4
p2p/transport/webrtc/listener.go
@@ -204,6 +204,10 @@ func (l *listener) setupConnection(
204
l.transport.peerConnectionTimeouts.Failed,
205
l.transport.peerConnectionTimeouts.Keepalive,
206
)
207
+ // This is higher than the path MTU due to a bug in the sctp chunking logic.
208
+ // Remove this after https://github.com/pion/sctp/pull/301 is included
209
+ // in a release.
210
+ settingEngine.SetReceiveMTU(udpmux.ReceiveBufSize)
211
settingEngine.DetachDataChannels()
212
213
w, err = newWebRTCConnection(settingEngine, l.config)
0 commit comments