Closed
Bug 1266438
Opened 7 years ago
Closed 7 years ago
Reset the AEC on device change
Categories
(Core :: WebRTC: Audio/Video, defect)
Core
WebRTC: Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla48
Tracking | Status | |
---|---|---|
firefox48 | --- | fixed |
People
(Reporter: padenot, Assigned: padenot)
Details
Attachments
(2 files, 2 obsolete files)
12.34 KB,
patch
|
jesup
:
review+
|
Details | Diff | Splinter Review |
10.12 KB,
patch
|
padenot
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•7 years ago
|
||
Assignee: nobody → padenot
Attachment #8743927 -
Flags: review?(rjesup)
Assignee | ||
Comment 2•7 years ago
|
||
Attachment #8743928 -
Flags: review?(rjesup)
Comment 3•7 years ago
|
||
Comment on attachment 8743927 [details] [diff] [review] Part 1, reset the processing Review of attachment 8743927 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/media/GraphDriver.cpp @@ +22,5 @@ > #define STREAM_LOG(type, msg) MOZ_LOG(gMediaStreamGraphLog, type, msg) > > // We don't use NSPR log here because we want this interleaved with adb logcat > // on Android/B2G > +#define ENABLE_LIFECYCLE_LOG will need to comment this again ::: dom/media/MediaStreamGraph.cpp @@ +45,5 @@ > > LazyLogModule gMediaStreamGraphLog("MediaStreamGraph"); > #define STREAM_LOG(type, msg) MOZ_LOG(gMediaStreamGraphLog, type, msg) > > +#define ENABLE_LIFECYCLE_LOG ditto ::: dom/media/webrtc/MediaEngineWebRTCAudio.cpp @@ +502,5 @@ > +#define ResetProcessingIfNeeded(_processing) \ > +do { \ > +webrtc::_processing##Modes mode; \ > +int rv = mVoEProcessing->Get##_processing##Status(enabled, mode); \ > +if (rv) { \ indent contents of do {} block @@ +504,5 @@ > +webrtc::_processing##Modes mode; \ > +int rv = mVoEProcessing->Get##_processing##Status(enabled, mode); \ > +if (rv) { \ > + NS_WARNING("Could not get the status of the " \ > + #_processing "on device change."); \ Add a space before 'on' @@ +521,5 @@ > + if (rv) { \ > + NS_WARNING("Could not reset the status of the " \ > + #_processing " on device change."); \ > + return; \ > + } \ Issues with enabled and doing this if already false (per IRC)
Attachment #8743927 -
Flags: review?(rjesup) → review-
Comment 4•7 years ago
|
||
Comment on attachment 8743928 [details] [diff] [review] Part 2, remove OSX speicifc workarounds Review of attachment 8743928 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/media/GraphDriver.cpp @@ +1005,5 @@ > #endif > } > > void > + AudioCallbackDriver::DeviceChangedCallback() { spurious spaces
Attachment #8743928 -
Flags: review?(rjesup) → review+
Assignee | ||
Comment 5•7 years ago
|
||
Attachment #8743927 -
Attachment is obsolete: true
Attachment #8743949 -
Flags: review?(rjesup)
Comment 7•7 years ago
|
||
Comment on attachment 8743949 [details] [diff] [review] Part 1, reset the processing Review of attachment 8743949 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/media/webrtc/MediaEngineWebRTCAudio.cpp @@ +509,5 @@ > + return; \ > + } \ > + \ > + if (enabled) { \ > + rv = mVoEProcessing->Set##_processing##Status(!enabled); \ false @@ +516,5 @@ > + #_processing " on device change."); \ > + return; \ > + } \ > + \ > + rv = mVoEProcessing->Set##_processing##Status(enabled); \ true
Attachment #8743949 -
Flags: review?(rjesup) → review+
Assignee | ||
Updated•7 years ago
|
Attachment #8743928 -
Attachment is obsolete: true
https://hg.mozilla.org/integration/mozilla-inbound/rev/5663efa6c13c https://hg.mozilla.org/integration/mozilla-inbound/rev/099d4414bd63
Comment 9•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5663efa6c13c https://hg.mozilla.org/mozilla-central/rev/099d4414bd63
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in
before you can comment on or make changes to this bug.
Description
•