Skip to content

Commit

Permalink
Merge pull request #1 from braveyao/mtu
Browse files Browse the repository at this point in the history
raise the default ReceiveMTU to 1500
  • Loading branch information
braveyao authored Oct 14, 2024
2 parents e51984e + d9bec41 commit cef7bd7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ package webrtc
import "github.com/pion/dtls/v3"

const (
// Equal to UDP MTU
receiveMTU = 1460
// default as the standard ethernet MTU
// can be overwritten with SettingEngine.SetReceiveMTU()
receiveMTU = 1500

// simulcastProbeCount is the amount of RTP Packets
// that handleUndeclaredSSRC will read and try to dispatch from
Expand Down

0 comments on commit cef7bd7

Please sign in to comment.