sukun
8 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
0 deletions
-
p2p/transport/webrtc/listener.go
|
@ -204,6 +204,10 @@ func (l *listener) setupConnection( |
|
|
l.transport.peerConnectionTimeouts.Failed, |
|
|
l.transport.peerConnectionTimeouts.Failed, |
|
|
l.transport.peerConnectionTimeouts.Keepalive, |
|
|
l.transport.peerConnectionTimeouts.Keepalive, |
|
|
) |
|
|
) |
|
|
|
|
|
// This is higher than the path MTU due to a bug in the sctp chunking logic.
|
|
|
|
|
|
// Remove this after https://github.com/pion/sctp/pull/301 is included
|
|
|
|
|
|
// in a release.
|
|
|
|
|
|
settingEngine.SetReceiveMTU(udpmux.ReceiveBufSize) |
|
|
settingEngine.DetachDataChannels() |
|
|
settingEngine.DetachDataChannels() |
|
|
|
|
|
|
|
|
w, err = newWebRTCConnection(settingEngine, l.config) |
|
|
w, err = newWebRTCConnection(settingEngine, l.config) |
|
|