Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
8faa52ae
Commit
8faa52ae
authored
4 years ago
by
Pierre Lespagnol
Committed by
Sébastien Blin
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
opus: re-enable FEC
Gitlab:
#479
Change-Id: I19c6286311936d61c8a850f99b4ed3008b675b48
parent
1a6cc728
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/media/media_encoder.cpp
+3
-4
3 additions, 4 deletions
src/media/media_encoder.cpp
with
3 additions
and
4 deletions
src/media/media_encoder.cpp
+
3
−
4
View file @
8faa52ae
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment