diff --git a/go.mod b/go.mod index 6dfd92c143e..f034d22bd43 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/pion/randutil v0.1.0 github.com/pion/rtcp v1.2.12 github.com/pion/rtp v1.8.3 - github.com/pion/sctp v1.8.11 + github.com/pion/sctp v1.8.12 github.com/pion/sdp/v3 v3.0.6 github.com/pion/srtp/v2 v2.0.18 github.com/pion/stun v0.6.1 diff --git a/go.sum b/go.sum index 29a8b62fab3..26ce98b5ac6 100644 --- a/go.sum +++ b/go.sum @@ -61,8 +61,8 @@ github.com/pion/rtp v1.8.2/go.mod h1:pBGHaFt/yW7bf1jjWAoUjpSNoDnw98KTMg+jWWvziqU github.com/pion/rtp v1.8.3 h1:VEHxqzSVQxCkKDSHro5/4IUUG1ea+MFdqR2R3xSpNU8= github.com/pion/rtp v1.8.3/go.mod h1:pBGHaFt/yW7bf1jjWAoUjpSNoDnw98KTMg+jWWvziqU= github.com/pion/sctp v1.8.5/go.mod h1:SUFFfDpViyKejTAdwD1d/HQsCu+V/40cCs2nZIvC3s0= -github.com/pion/sctp v1.8.11 h1:h5+DNgcJCVkZMm/dbpHBK74twzox8wAn/qjF7xVgyUg= -github.com/pion/sctp v1.8.11/go.mod h1:cMLT45jqw3+jiJCrtHVwfQLnfR0MGZ4rgOJwUOIqLkI= +github.com/pion/sctp v1.8.12 h1:2VX50pedElH+is6FI+OKyRTeN5oy4mrk2HjnGa3UCmY= +github.com/pion/sctp v1.8.12/go.mod h1:cMLT45jqw3+jiJCrtHVwfQLnfR0MGZ4rgOJwUOIqLkI= github.com/pion/sdp/v3 v3.0.6 h1:WuDLhtuFUUVpTfus9ILC4HRyHsW6TdugjEX/QY9OiUw= github.com/pion/sdp/v3 v3.0.6/go.mod h1:iiFWFpQO8Fy3S5ldclBkpXqmWy02ns78NOKoLLL0YQw= github.com/pion/srtp/v2 v2.0.18 h1:vKpAXfawO9RtTRKZJbG4y0v1b11NZxQnxRl85kGuUlo= diff --git a/sctptransport.go b/sctptransport.go index f2f33e4b267..35778ca955d 100644 --- a/sctptransport.go +++ b/sctptransport.go @@ -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 {