Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Issue 1945563003: Provide isAudioEnabled flag to control audio unit. (Closed)

Created:
4 years, 7 months ago by tkchin_webrtc
Modified:
4 years, 4 months ago
Reviewers:
henrika_webrtc, Chuck
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, audio-team_agora.io, sdk-team_agora.io, peah-webrtc, skvlad
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Provide isAudioEnabled flag to control audio unit. - Also removes async invoker usage in favor of thread posting BUG= Committed: https://crrev.com/d251196d377041722442fc583da593bc8f17302b Cr-Commit-Position: refs/heads/master@{#12651}

Patch Set 1 : #

Patch Set 2 : Fix RTCAudioSessionConfiguration #

Patch Set 3 : Fix some bluetooth issue. #

Total comments: 20

Patch Set 4 : Additional fixes + remove BT hacks. #

Patch Set 5 : Minor refactoring. #

Patch Set 6 : Remove unneeded volatile. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+589 lines, -434 lines) Patch
M webrtc/examples/objc/AppRTCDemo/ios/ARDMainView.h View 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/examples/objc/AppRTCDemo/ios/ARDMainView.m View 4 chunks +25 lines, -25 lines 0 comments Download
M webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m View 1 7 chunks +57 lines, -31 lines 0 comments Download
M webrtc/examples/objc/AppRTCDemo/ios/ARDVideoCallViewController.h View 1 chunk +11 lines, -1 line 0 comments Download
M webrtc/examples/objc/AppRTCDemo/ios/ARDVideoCallViewController.m View 2 chunks +5 lines, -5 lines 0 comments Download
M webrtc/modules/audio_device/ios/audio_device_ios.h View 1 2 3 4 7 chunks +18 lines, -9 lines 0 comments Download
M webrtc/modules/audio_device/ios/audio_device_ios.mm View 1 2 3 4 15 chunks +226 lines, -112 lines 0 comments Download
M webrtc/modules/audio_device/ios/audio_session_observer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_device/ios/objc/RTCAudioSession.h View 1 2 3 4 chunks +32 lines, -44 lines 0 comments Download
M webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm View 1 12 chunks +109 lines, -93 lines 0 comments Download
M webrtc/modules/audio_device/ios/objc/RTCAudioSession+Configuration.mm View 1 5 chunks +42 lines, -92 lines 0 comments Download
M webrtc/modules/audio_device/ios/objc/RTCAudioSession+Private.h View 3 chunks +21 lines, -9 lines 0 comments Download
M webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.m View 1 2 3 4 5 4 chunks +17 lines, -1 line 0 comments Download
M webrtc/modules/audio_device/ios/objc/RTCAudioSessionDelegateAdapter.mm View 1 chunk +5 lines, -4 lines 0 comments Download
M webrtc/modules/audio_device/ios/voice_processing_audio_unit.mm View 1 2 3 5 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
tkchin_webrtc
4 years, 7 months ago (2016-05-04 02:39:48 UTC) #5
henrika_webrtc
Looks really great. Took a quick initial look (half day here today). Will check more ...
4 years, 7 months ago (2016-05-04 12:32:57 UTC) #6
henrika_webrtc
https://codereview.webrtc.org/1945563003/diff/80001/webrtc/modules/audio_device/ios/audio_device_ios.mm File webrtc/modules/audio_device/ios/audio_device_ios.mm (right): https://codereview.webrtc.org/1945563003/diff/80001/webrtc/modules/audio_device/ios/audio_device_ios.mm#newcode440 webrtc/modules/audio_device/ios/audio_device_ios.mm:440: void AudioDeviceIOS::OnMessage(rtc::Message *msg) { nice! https://codereview.webrtc.org/1945563003/diff/80001/webrtc/modules/audio_device/ios/audio_device_ios.mm#newcode534 webrtc/modules/audio_device/ios/audio_device_ios.mm:534: // Mad ...
4 years, 7 months ago (2016-05-04 12:33:07 UTC) #7
tkchin_webrtc
PTAL https://codereview.webrtc.org/1945563003/diff/80001/webrtc/modules/audio_device/ios/audio_device_ios.mm File webrtc/modules/audio_device/ios/audio_device_ios.mm (right): https://codereview.webrtc.org/1945563003/diff/80001/webrtc/modules/audio_device/ios/audio_device_ios.mm#newcode440 webrtc/modules/audio_device/ios/audio_device_ios.mm:440: void AudioDeviceIOS::OnMessage(rtc::Message *msg) { On 2016/05/04 12:33:07, henrika_webrtc ...
4 years, 7 months ago (2016-05-05 23:23:28 UTC) #9
henrika_webrtc
I think we should land this and take it from there. I can give it ...
4 years, 7 months ago (2016-05-06 11:22:17 UTC) #10
tkchin_webrtc
On 2016/05/06 11:22:17, henrika_webrtc wrote: > I think we should land this and take it ...
4 years, 7 months ago (2016-05-07 00:29:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1945563003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1945563003/160001
4 years, 7 months ago (2016-05-07 00:51:42 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:160001)
4 years, 7 months ago (2016-05-07 01:54:19 UTC) #17
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/d251196d377041722442fc583da593bc8f17302b Cr-Commit-Position: refs/heads/master@{#12651}
4 years, 7 months ago (2016-05-07 01:54:29 UTC) #19
henrika_webrtc
4 years, 7 months ago (2016-05-11 10:45:20 UTC) #20
Message was sent while issue was closed.
FYI, Not sure if it related to this change but when I try AppRTCDemo today I
can't play the music file while in a call.
"Use manual audio config" does not make a difference. As I recall it, I was able
to run VoIP and music in a mixed mode earlier.
Or is that something I remembered wrong.

Powered by Google App Engine
This is Rietveld 408576698