mirror of
https://github.com/livekit/livekit.git
synced 2026-10-22 10:42:29 +00:00
disable sctp zero checksum for unknown sdk (#3321)
This commit is contained in:
1 parent
f846c7719b
commit
f08fc581e0
1 file changed
+2
-1
@@ -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