Skip to content
Snippets Groups Projects
Commit 8faa52ae authored by Pierre Lespagnol's avatar Pierre Lespagnol Committed by Sébastien Blin
Browse files

opus: re-enable FEC

Gitlab: #479
Change-Id: I19c6286311936d61c8a850f99b4ed3008b675b48
parent 1a6cc728
No related branches found
No related tags found
No related merge requests found
......@@ -991,12 +991,11 @@ MediaEncoder::initH263(AVCodecContext* encoderCtx, uint64_t br)
}
void
MediaEncoder::initOpus(AVCodecContext* /*encoderCtx*/)
MediaEncoder::initOpus(AVCodecContext* encoderCtx)
{
// Enable FEC support by default with 10% packet loss
// Disable opus FEC for now
// av_opt_set_int(encoderCtx, "enable_fec", 1, AV_OPT_SEARCH_CHILDREN);
// av_opt_set_int(encoderCtx, "packet_loss", 10, AV_OPT_SEARCH_CHILDREN);
av_opt_set_int(encoderCtx, "enable_fec", 1, AV_OPT_SEARCH_CHILDREN);
av_opt_set_int(encoderCtx, "packet_loss", 10, AV_OPT_SEARCH_CHILDREN);
}
void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment