search for: payload_length_ms

Displaying 1 result from an estimated 1 matches for "payload_length_ms".

2019 Jul 15
0
How to enable OPUS inband FEC
...turn EPROTO; } n = n + n2; } But I feel no difference in audio results with and without FEC. This is the way I'm trying to understand whether there is FEC inside the packet: bool opus_packet_has_fec(const uint8_t* payload, size_t len, const int sample_rate) { int frames, channels, payload_length_ms; int n; opus_int16 frame_sizes[48]; const unsigned char *frame_data[48]; if (payload == NULL || len == 0) { info("Empty payload!!\n"); return false; } /* In CELT_ONLY mode, packets should not have FEC. */ if (payload[0] & 0x80) { info("CELT payload type!!\n");...