mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 20:36:38 +02:00
Increase packet version for Ping
This commit is contained in:
parent
e9d2912576
commit
bef4eb1d05
2 changed files with 6 additions and 0 deletions
|
@ -75,6 +75,8 @@ PacketVersion versionForPacketType(PacketType packetType) {
|
||||||
return static_cast<PacketVersion>(IcePingVersion::SendICEPeerID);
|
return static_cast<PacketVersion>(IcePingVersion::SendICEPeerID);
|
||||||
case PacketType::DomainSettings:
|
case PacketType::DomainSettings:
|
||||||
return 18; // replace min_avatar_scale and max_avatar_scale with min_avatar_height and max_avatar_height
|
return 18; // replace min_avatar_scale and max_avatar_scale with min_avatar_height and max_avatar_height
|
||||||
|
case PacketType::Ping:
|
||||||
|
return static_cast<PacketVersion>(PingVersion::IncludeConnectionID);
|
||||||
default:
|
default:
|
||||||
return 17;
|
return 17;
|
||||||
}
|
}
|
||||||
|
|
|
@ -322,4 +322,8 @@ enum class IcePingVersion : PacketVersion {
|
||||||
SendICEPeerID = 18
|
SendICEPeerID = 18
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum class PingVersion : PacketVersion {
|
||||||
|
IncludeConnectionID = 18
|
||||||
|
};
|
||||||
|
|
||||||
#endif // hifi_PacketHeaders_h
|
#endif // hifi_PacketHeaders_h
|
||||||
|
|
Loading…
Reference in a new issue