- minor improvements for pvqa_pcap project

This commit is contained in:
2025-01-30 17:44:12 +03:00
parent 34e43bf301
commit 5ce85e3a09
4 changed files with 8 additions and 2 deletions

View File

@@ -795,7 +795,7 @@ bool Session::isDataIndication(ByteBuffer& source, ByteBuffer* plain)
return false;
}
bool Session::isStun(ByteBuffer& source)
bool Session::isStun(const ByteBuffer& source)
{
if (source.size() < 8)
return false;

View File

@@ -140,7 +140,7 @@ namespace ice
bool hasAllocations();
static bool isDataIndication(ByteBuffer& source, ByteBuffer* plain);
static bool isStun(ByteBuffer& source);
static bool isStun(const ByteBuffer& source);
static bool isRtp(ByteBuffer& source);
static bool isChannelData(ByteBuffer& source, TurnPrefix prefix);