xiph / xiph/opus

FEC packet loss

Open
#446 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
3.3k
Forks
808
PR merge metrics
No merged PRs in 30d

Description

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));

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name a target file or test. Start by reading the documented behavior of opus_encoder_ctl, opus_decoder_ctl, OPUS_SET_INBAND_FEC, and OPUS_SET_PACKET_LOSS_PERC; the issue would be done only when the configuration and meaning of packet loss are clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.