Skip to content

FEC packet loss #446

@DigitalOneThe

Description

@DigitalOneThe

How to properly configure FEC packet loss?
Do I need some additional packet loss processing in the code?

And what is the packet loss? I need the loss of network packets (audio data that is transmitted over the network).

Guide me on the right path.

Or is it the loss of the audio chunks themselves?

opus_encoder_ctl(encoder, OPUS_SET_BITRATE(64000));
opus_encoder_ctl(encoder, OPUS_SET_COMPLEXITY(8)); 
opus_encoder_ctl(encoder, OPUS_SET_VBR(1));
opus_encoder_ctl(encoder, OPUS_SET_SIGNAL(OPUS_SIGNAL_VOICE));
opus_encoder_ctl(encoder, OPUS_SET_INBAND_FEC(0));
opus_encoder_ctl(encoder, OPUS_SET_PACKET_LOSS_PERC(0));
opus_encoder_ctl(encoder, OPUS_SET_DTX(0));
opus_encoder_ctl(encoder, OPUS_SET_LSB_DEPTH(16));

opus_decoder_ctl(decoder, OPUS_SET_GAIN(0));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions