mirror of
https://github.com/lubosz/overte.git
synced 2025-04-25 01:23:57 +02:00
add packet version change for ICE ping change
This commit is contained in:
parent
10d05ba6c9
commit
689828e3fa
2 changed files with 6 additions and 0 deletions
|
@ -72,6 +72,8 @@ PacketVersion versionForPacketType(PacketType packetType) {
|
|||
case PacketType::MicrophoneAudioWithEcho:
|
||||
case PacketType::AudioStreamStats:
|
||||
return static_cast<PacketVersion>(AudioVersion::HighDynamicRangeVolume);
|
||||
case PacketType::ICEPing:
|
||||
return static_cast<PacketVersion>(IcePingVersion::SendICEPeerID);
|
||||
default:
|
||||
return 17;
|
||||
}
|
||||
|
|
|
@ -277,4 +277,8 @@ enum class MessageDataVersion : PacketVersion {
|
|||
TextOrBinaryData = 18
|
||||
};
|
||||
|
||||
enum class IcePingVersion : PacketVersion {
|
||||
SendICEPeerID = 18
|
||||
};
|
||||
|
||||
#endif // hifi_PacketHeaders_h
|
||||
|
|
Loading…
Reference in a new issue