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/sctp@v1.8.12
  • Loading branch information
Sean-Der committed Feb 9, 2024
1 parent ae6ebc8 commit 2a3f384
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 2a3f384

Please sign in to comment.