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

Issue 1796983004: Use RTCAudioSessionDelegate in AudioDeviceIOS. (Closed)

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

Description

Use RTCAudioSessionDelegateAdapter in AudioDeviceIOS. Part 3 of refactor. Also: - better weak pointer delegate storage + tests - we now ignore route changes when we're interrupted - fixed bug where preferred sample rate wasn't set if audio session wasn't active BUG= Committed: https://crrev.com/e54467f73e2630bbaf751a4db4326d1278f704e5 Cr-Commit-Position: refs/heads/master@{#12007}

Patch Set 1 : #

Total comments: 19

Patch Set 2 : CR comments #

Patch Set 3 : Update a comment #

Total comments: 2

Patch Set 4 : Some nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+481 lines, -204 lines) Patch
M webrtc/base/objc/RTCMacros.h View 1 chunk +13 lines, -2 lines 0 comments Download
M webrtc/examples/objc/AppRTCDemo/ios/Info.plist View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_device/BUILD.gn View 1 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/modules/audio_device/audio_device.gypi View 1 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/modules/audio_device/ios/audio_device_ios.h View 1 5 chunks +26 lines, -8 lines 0 comments Download
M webrtc/modules/audio_device/ios/audio_device_ios.mm View 1 2 3 8 chunks +103 lines, -162 lines 0 comments Download
A webrtc/modules/audio_device/ios/audio_session_observer.h View 1 1 chunk +37 lines, -0 lines 0 comments Download
M webrtc/modules/audio_device/ios/objc/RTCAudioSession.h View 1 chunk +1 line, -4 lines 0 comments Download
M webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm View 1 10 chunks +40 lines, -11 lines 0 comments Download
M webrtc/modules/audio_device/ios/objc/RTCAudioSession+Configuration.mm View 2 chunks +5 lines, -2 lines 0 comments Download
M webrtc/modules/audio_device/ios/objc/RTCAudioSession+Private.h View 1 2 chunks +19 lines, -3 lines 0 comments Download
A + webrtc/modules/audio_device/ios/objc/RTCAudioSessionDelegateAdapter.h View 1 2 1 chunk +12 lines, -11 lines 0 comments Download
A webrtc/modules/audio_device/ios/objc/RTCAudioSessionDelegateAdapter.mm View 1 1 chunk +79 lines, -0 lines 0 comments Download
M webrtc/modules/audio_device/ios/objc/RTCAudioSessionTest.mm View 1 2 chunks +136 lines, -1 line 0 comments Download
M webrtc/modules/modules.gyp View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
tkchin_webrtc
4 years, 9 months ago (2016-03-15 04:00:57 UTC) #8
henrika_webrtc
Some minor comments. LGTM Unable to comment on all of the most fancy Objective-C parts ...
4 years, 9 months ago (2016-03-15 08:53:45 UTC) #9
Chuck
https://codereview.webrtc.org/1796983004/diff/60001/webrtc/modules/audio_device/ios/audio_device_ios.mm File webrtc/modules/audio_device/ios/audio_device_ios.mm (right): https://codereview.webrtc.org/1796983004/diff/60001/webrtc/modules/audio_device/ios/audio_device_ios.mm#newcode352 webrtc/modules/audio_device/ios/audio_device_ios.mm:352: LOG_IF_ERROR(AudioOutputUnitStart(vpio_unit_), Do you want a similar log line to ...
4 years, 9 months ago (2016-03-15 14:33:21 UTC) #10
tkchin_webrtc
PTAL https://codereview.webrtc.org/1796983004/diff/60001/webrtc/modules/audio_device/ios/audio_device_ios.h File webrtc/modules/audio_device/ios/audio_device_ios.h (right): https://codereview.webrtc.org/1796983004/diff/60001/webrtc/modules/audio_device/ios/audio_device_ios.h#newcode157 webrtc/modules/audio_device/ios/audio_device_ios.h:157: // These methods should be called in response ...
4 years, 9 months ago (2016-03-15 20:14:59 UTC) #11
Chuck
lgtm https://codereview.webrtc.org/1796983004/diff/100001/webrtc/modules/audio_device/ios/audio_device_ios.mm File webrtc/modules/audio_device/ios/audio_device_ios.mm (right): https://codereview.webrtc.org/1796983004/diff/100001/webrtc/modules/audio_device/ios/audio_device_ios.mm#newcode382 webrtc/modules/audio_device/ios/audio_device_ios.mm:382: nit: extra line
4 years, 9 months ago (2016-03-15 20:55:49 UTC) #12
tkchin_webrtc
Made some interface changes to address your threading comment Henrik. Let me know if you ...
4 years, 9 months ago (2016-03-15 21:10:54 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1796983004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1796983004/120001
4 years, 9 months ago (2016-03-15 21:11:04 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:120001)
4 years, 9 months ago (2016-03-15 23:54:08 UTC) #18
commit-bot: I haz the power
4 years, 9 months ago (2016-03-15 23:54:19 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e54467f73e2630bbaf751a4db4326d1278f704e5
Cr-Commit-Position: refs/heads/master@{#12007}

Powered by Google App Engine
This is Rietveld 408576698