Skip to content

Commit 4196025

Browse files
authored
arbitrary number of frames in packet
1 parent da215c0 commit 4196025

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/opus_decoder/opus_decoder.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,11 @@ int parseOpusTOC(uint8_t TOC_Byte){ // https://www.rfc-editor.org/rfc/rfc6716
187187

188188
// log_i("configNr %i, s %i, c %i", configNr, s, c);
189189

190+
if(c == 3) {
191+
log_e("an arbitrary number of frames in the packet is unsupported yet");
192+
vTaskDelay(1000);
193+
}
194+
190195
if(configNr < 12) return ERR_OPUS_SILK_MODE_UNSUPPORTED;
191196
if(configNr < 16) return ERR_OPUS_HYBRID_MODE_UNSUPPORTED;
192197

0 commit comments

Comments
 (0)