Skip to content

Commit

Permalink
Enable SCTP Zero Checksum
Browse files Browse the repository at this point in the history
Available in github.com/pion/[email protected]
  • Loading branch information
ourwarmhouse committed Feb 9, 2024
1 parent 34633ed commit 20e4349
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sctptransport.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ func (r *SCTPTransport) Start(SCTPCapabilities) error {
sctpAssociation, err := sctp.Client(sctp.Config{
NetConn: dtlsTransport.conn,
MaxReceiveBufferSize: r.api.settingEngine.sctp.maxReceiveBufferSize,
EnableZeroChecksum: true,
LoggerFactory: r.api.settingEngine.LoggerFactory,
})
if err != nil {
Expand Down

0 comments on commit 20e4349

Please sign in to comment.