Fix for Opus TX audio

merge-requests/6/head
Phil Taylor 2021-08-14 20:08:11 +01:00
rodzic 21c8b54819
commit 758724f8af
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -687,7 +687,8 @@ void udpServer::audioReceived()
*/
control_packet_t in = (control_packet_t)r.constData();
if (in->type != 0x01 && in->len >= 0xAC) {
if (in->type != 0x01) {
// Opus packets can be smaller than this! && in->len >= 0xAC) {
if (in->seq == 0)
{
// Seq number has rolled over.