Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sumanth-murali-skydio opened this issue Jun 21, 2024 · 2 comments

Comments

@sumanth-murali-skydio
Copy link

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??

@jmvalin
Copy link
Member

jmvalin commented Jun 23, 2024

I suggest you test with opus_demo. Also, make sure you're setting the -loss to something non-zero and using a high enough bitrate for FEC to get used.

@sumanth-murali-skydio
Copy link
Author

What is the minimum bit rate needed??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants