mirror of
https://github.com/livekit/livekit.git
synced 2026-03-30 15:35:41 +00:00
disable sctp zero checksum for unknown sdk (#3321)
This commit is contained in:
@@ -102,7 +102,8 @@ func (c ClientInfo) SupportErrorResponse() bool {
|
||||
}
|
||||
|
||||
func (c ClientInfo) SupportSctpZeroChecksum() bool {
|
||||
return !(c.isGo() && c.compareVersion("2.4.0") < 0)
|
||||
return !(c.ClientInfo.GetSdk() == livekit.ClientInfo_UNKNOWN ||
|
||||
(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