Disable SCTP zero checksum for old go client (#3319)
Old go-sdks with old pion/sctp version can't process unknown parameters.
This commit is contained in:
@@ -102,7 +102,7 @@ func (c ClientInfo) SupportErrorResponse() bool {
|
||||
}
|
||||
|
||||
func (c ClientInfo) SupportSctpZeroChecksum() bool {
|
||||
return !(c.isGo() && c.compareVersion("2.1.3") <= 0)
|
||||
return !(c.isGo() && c.compareVersion("2.4.0") < 0)
|
||||
}
|
||||
|
||||
// compareVersion compares a semver against the current client SDK version
|
||||
|
||||
Reference in New Issue
Block a user