xiph / xiph/opus

How can I verify if FEC is working? I am not hearing any changes with fec enabled vs disabled with 30% packet loss

Open
#353 2 comments 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

I am running an opus encode decode pipelein. This takes in a raw pcm at 16 KHz mono and encodes with FEC enabled at 16 kbps and complexity = 10. The frame size is 40 ms and I am simulating packet loss by not dropping the encoded packets. The decoder then decodes with decode_fec = true if it sees a packet missing (using sequence numbers) and decodes the packet again with decode_fec = false.
I dont hear any difference when I enable FEC or if I disable FEC. Are there specific settings for the encoder that allow the FEC to work??

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

No source file or test is named. Start by reproducing the described Opus encode/decode pipeline with 16 kHz mono PCM, 40 ms frames, 16 kbps, 30% loss, and the stated decode_fec sequence. Done means determining whether FEC is actually exercised and identifying the settings or procedure that demonstrates its effect.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.