Displaying 2 results from an estimated 2 matches for "payload_length_byt".
Did you mean:
payload_length_bytes
2015 Feb 05
2
VOIP: FEC and NARROWBAND
...maxplaybackrate=8000 ) ?I am having some confusing results, it appears that FEC is enabled in the encoder, but the decoder cannot find any packet with FEC.
I am also wondering if this piece of code is correct (webrtc):
/* The following is to parse the LBRR flags. */? if (opus_packet_parse(payload, payload_length_bytes, NULL, frame_data,? ? ? ? ? ? ? ? ? ? ? ? frame_sizes, NULL) < 0) {? ? return 0;? }
? if (frame_sizes[0] <= 1) {? ? return 0;? }
? for (n = 0; n < channels; n++) {? ? if (frame_data[0][0] & (0x80 >> ((n + 1) * (frames + 1) - 1)))? ? ? return 1;? }
Is this the way to detect is a...
2015 Feb 06
0
VOIP: FEC and NARROWBAND
...ing some confusing results, it appears that FEC is enabled in
> the encoder, but the decoder cannot find any packet with FEC.
>
> I am also wondering if this piece of code is correct (webrtc):
>
> /* The following is to parse the LBRR flags. */
> if (opus_packet_parse(payload, payload_length_bytes, NULL, frame_data,
> frame_sizes, NULL) < 0) {
> return 0;
> }
>
> if (frame_sizes[0] <= 1) {
> return 0;
> }
>
> for (n = 0; n < channels; n++) {
> if (frame_data[0][0] & (0x80 >> ((n + 1) * (frames +...