DescriptionDon't recreate the speech encoder if we don't have to
If the specification for the speech encoder hasn't changed, we should
reuse it instead of recreating it. Otherwise, we lose its state. (This
problem was originally discovered because AudioEncoderOpus instances
would forget that they were supposed to be using DTX.)
BUG=webrtc:6020, chromium:622647
Committed: https://crrev.com/3f81fcd2e845505c2873c7ec2edade910213596b
Cr-Commit-Position: refs/heads/master@{#13273}
Patch Set 1 #
Total comments: 10
Messages
Total messages: 17 (6 generated)
|