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

Issue 1401963002: Adds support for Bluetooth headsets to the iOS audio layer (Closed)

Created:
5 years, 2 months ago by henrika_webrtc
Modified:
5 years, 2 months ago
Reviewers:
tkchin_webrtc
CC:
webrtc-reviews_webrtc.org
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Adds support for Bluetooth headsets to the iOS audio layer. This patch also also ensures that audio is restored after an incoming GSM call. BUG=webrtc:5058, webrtc:5012 TEST=Manual tests using modified AppRTCDemo and three different BT headsets Committed: https://crrev.com/45c136b579c04c6cbf5f3ea77e7f8171d48a5890 Cr-Commit-Position: refs/heads/master@{#10354}

Patch Set 1 #

Total comments: 1

Patch Set 2 : nits #

Total comments: 16

Patch Set 3 : Feedback from tkchin@ #

Patch Set 4 : Removed too strict CHECKs #

Patch Set 5 : Fixed interruption handling #

Total comments: 4

Patch Set 6 : final changes based on feedback from tkchin@ #

Patch Set 7 : now passes trybotsq #

Patch Set 8 : ARDMainViewController.m now restored #

Patch Set 9 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -61 lines) Patch
M webrtc/modules/audio_device/fine_audio_buffer.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_device/ios/audio_device_ios.h View 4 chunks +13 lines, -1 line 0 comments Download
M webrtc/modules/audio_device/ios/audio_device_ios.mm View 1 2 3 4 5 6 7 8 11 chunks +215 lines, -58 lines 0 comments Download
M webrtc/modules/utility/interface/helpers_ios.h View 2 chunks +4 lines, -0 lines 0 comments Download
M webrtc/modules/utility/source/helpers_ios.mm View 1 2 4 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 20 (7 generated)
henrika_webrtc
PTAL tkchin. https://codereview.webrtc.org/1401963002/diff/1/webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m File webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m (right): https://codereview.webrtc.org/1401963002/diff/1/webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m#newcode30 webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m:30: // [self showAlertWithMessage:@"We are inactive!"]; Only for ...
5 years, 2 months ago (2015-10-13 14:32:56 UTC) #2
henrika_webrtc
Friendly ping :-)
5 years, 2 months ago (2015-10-16 07:56:52 UTC) #3
tkchin_webrtc
On 2015/10/16 07:56:52, henrika_webrtc wrote: > Friendly ping :-) Thanks for ping, I'd missed the ...
5 years, 2 months ago (2015-10-16 16:23:26 UTC) #4
tkchin_webrtc
https://codereview.webrtc.org/1401963002/diff/20001/webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m File webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m (right): https://codereview.webrtc.org/1401963002/diff/20001/webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m#newcode30 webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m:30: // [self showAlertWithMessage:@"We are inactive!"]; I'd leave the original ...
5 years, 2 months ago (2015-10-16 16:23:32 UTC) #5
henrika_webrtc
Thanks! Uploading changes. Will check interruption events next. https://codereview.webrtc.org/1401963002/diff/20001/webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m File webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m (right): https://codereview.webrtc.org/1401963002/diff/20001/webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m#newcode30 webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m:30: // ...
5 years, 2 months ago (2015-10-20 10:18:16 UTC) #6
henrika_webrtc
Now also supports interruption handling. Have verified by making phone call to ongoing WebRTC call. ...
5 years, 2 months ago (2015-10-20 14:25:24 UTC) #7
tkchin_webrtc
lgtm https://codereview.webrtc.org/1401963002/diff/80001/webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m File webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m (right): https://codereview.webrtc.org/1401963002/diff/80001/webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m#newcode31 webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m:31: // [self dismissViewControllerAnimated:NO completion:nil]; uncomment second line? :) ...
5 years, 2 months ago (2015-10-21 02:21:51 UTC) #8
henrika_webrtc
Thanks! https://codereview.webrtc.org/1401963002/diff/80001/webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m File webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m (right): https://codereview.webrtc.org/1401963002/diff/80001/webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m#newcode31 webrtc/examples/objc/AppRTCDemo/ios/ARDMainViewController.m:31: // [self dismissViewControllerAnimated:NO completion:nil]; On 2015/10/21 02:21:51, tkchin_webrtc ...
5 years, 2 months ago (2015-10-21 08:28:45 UTC) #9
henrika_webrtc
Just FYI, this compiles locally for me but not on the bots: FAILED: /b/build/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ ...
5 years, 2 months ago (2015-10-21 08:35:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1401963002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1401963002/120001
5 years, 2 months ago (2015-10-21 08:36:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1401963002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1401963002/160001
5 years, 2 months ago (2015-10-21 08:47:35 UTC) #18
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 2 months ago (2015-10-21 11:11:58 UTC) #19
commit-bot: I haz the power
5 years, 2 months ago (2015-10-21 11:12:12 UTC) #20
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/45c136b579c04c6cbf5f3ea77e7f8171d48a5890
Cr-Commit-Position: refs/heads/master@{#10354}

Powered by Google App Engine
This is Rietveld 408576698