mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-24 01:18:41 +08:00
eliminate SSRC range 0x00000001 - 0xfffffffe
This commit is contained in:
@@ -92,7 +92,8 @@ bool CNXDNKenwoodNetwork::open()
|
||||
return false;
|
||||
}
|
||||
|
||||
m_ssrc = m_random();
|
||||
std::uniform_int_distribution<unsigned int> dist(0x00000001, 0xfffffffe);
|
||||
m_ssrc = dist(m_random);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user