Skip to content

Commit

Permalink
Bug 1749046 - Reflect Opus-specific configuration options to FFmpegAu…
Browse files Browse the repository at this point in the history
…dioEncoder configuratin. r=chunmin

Differential Revision: https://phabricator.services.mozilla.com/D199541

UltraBlame original commit: 96806c2bdb29bc7602fa4e9484b4956c5f694ef7
  • Loading branch information
marco-c committed Jun 6, 2024
1 parent a280ca6 commit 3c047cc
Show file tree
Hide file tree
Showing 2 changed files with 421 additions and 40 deletions.
83 changes: 71 additions & 12 deletions dom/media/platforms/EncoderConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,26 @@ aFormat
}
}
;
enum
class
OpusBitstreamFormat
{
Opus
OGG
}
;
/
/
The
default
values
come
from
the
Web
Codecs
specification
.
struct
OpusSpecific
final
Expand All @@ -311,26 +331,65 @@ enum
class
Application
{
Unspecified
Voip
Audio
RestricedLowDelay
}
;
enum
class
OpusBitstreamFormat
{
Opus
OGG
}
Application
mApplication
=
Application
:
:
Unspecified
;
enum
class
uint64_t
mFrameDuration
=
20000
;
/
/
microseconds
uint8_t
mComplexity
=
10
;
/
/
0
-
10
OpusBitstreamFormat
{
mFormat
=
OpusBitstreamFormat
:
:
Opus
OGG
}
;
uint64_t
mPacketLossPerc
=
0
;
/
/
0
-
100
bool
mUseInBandFEC
=
false
;
bool
mUseDTX
=
false
;
}
;
Expand Down
Loading

0 comments on commit 3c047cc

Please sign in to comment.