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 {
|
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
|
// compareVersion compares a semver against the current client SDK version
|
||||||
|
|||||||
Reference in New Issue
Block a user