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

Issue 2964703002: [iOS] Fix incorrectly oriented frames when rapidly switching between cameras. (Closed)

Created:
3 years, 5 months ago by jtt_webrtc
Modified:
3 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, tkchin_webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

[iOS] Fix incorrectly oriented frames when rapidly switching between cameras. During a call, with both phones in horizontal or landscape mode, rapidly switching between the front and back camera sometimes causes the remote video to be shown upside down. There seems to be a race condition when setting the rotation based on the orientation of the device and which camera we're using. So use the active input's camera to check instead of the client state. BUG=webrtc:7898 Review-Url: https://codereview.webrtc.org/2964703002 Cr-Commit-Position: refs/heads/master@{#19139} Committed: https://chromium.googlesource.com/external/webrtc/+/61b0ed039dcd937d92d49a666c504a0eb2b475c6

Patch Set 1 #

Total comments: 8

Patch Set 2 : During a call, with both phones in horizontal or landscape mode, rapidly switching between the fron… #

Patch Set 3 : Used a new flag _changingCamera to gate the frame handling instead. #

Total comments: 1

Patch Set 4 : Check the EXIF of the image for which camera it came from. #

Patch Set 5 : Added unit tests for frame camera different from connection camera. #

Patch Set 6 : Formatting #

Patch Set 7 : Merge branch 'master' of https://chromium.googlesource.com/external/webrtc into exif #

Patch Set 8 : Change true/false to YES/NO #

Total comments: 4

Patch Set 9 : Moved common code to new class. #

Total comments: 5

Patch Set 10 : Added test to test isFrontCameraFromSampleBuffer. #

Patch Set 11 : Renamed RTCImageHelper method, removed gate check for switching cameras. #

Total comments: 20

Patch Set 12 : Fix method rename. #

Total comments: 1

Patch Set 13 : use gate keeper for getting exif. #

Total comments: 1

Patch Set 14 : Use AcquireLoad, renamed RTCImageHelper to AVCaptureSession Private. #

Total comments: 3

Patch Set 15 : Removed gate keeper. Renamed AVCaptureSession+Private to AVCaptureSession+Device. #

Total comments: 2

Patch Set 16 : Renamed RTCCameraVideoCapturer.mm back to RTCCameraVideoCapturer.m. #

Total comments: 4

Patch Set 17 : Refactoring of checking for image device source. #

Patch Set 18 : Refactored checking of image's source device. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+425 lines, -111 lines) Patch
M webrtc/sdk/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 8 chunks +50 lines, -28 lines 1 comment Download
A + webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 8 chunks +52 lines, -28 lines 0 comments Download
A webrtc/sdk/objc/Framework/Classes/Video/AVCaptureSession+Device.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +23 lines, -0 lines 1 comment Download
A webrtc/sdk/objc/Framework/Classes/Video/AVCaptureSession+Device.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +51 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 6 chunks +70 lines, -55 lines 1 comment Download
M webrtc/sdk/objc/Framework/UnitTests/RTCCameraVideoCapturerTests.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +177 lines, -0 lines 0 comments Download

Messages

Total messages: 68 (17 generated)
jtt_webrtc
I had to add additional checks to make sure we're not using frames while we're ...
3 years, 5 months ago (2017-06-30 17:34:33 UTC) #3
magjed_webrtc
https://codereview.webrtc.org/2964703002/diff/1/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m File webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m (right): https://codereview.webrtc.org/2964703002/diff/1/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m#newcode123 webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m:123: _isRunning = false; Why is this needed? https://codereview.webrtc.org/2964703002/diff/1/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m#newcode140 webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m:140: ...
3 years, 5 months ago (2017-06-30 17:50:50 UTC) #4
jtt_webrtc
https://codereview.webrtc.org/2964703002/diff/1/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m File webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m (right): https://codereview.webrtc.org/2964703002/diff/1/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m#newcode123 webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m:123: _isRunning = false; On 2017/06/30 17:50:50, magjed_webrtc wrote: > ...
3 years, 5 months ago (2017-06-30 17:54:49 UTC) #5
jtt_webrtc
https://codereview.webrtc.org/2964703002/diff/1/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m File webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m (right): https://codereview.webrtc.org/2964703002/diff/1/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m#newcode123 webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m:123: _isRunning = false; On 2017/06/30 17:50:50, magjed_webrtc wrote: > ...
3 years, 5 months ago (2017-06-30 18:07:48 UTC) #6
magjed_webrtc
https://codereview.webrtc.org/2964703002/diff/1/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m File webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m (right): https://codereview.webrtc.org/2964703002/diff/1/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m#newcode123 webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m:123: _isRunning = false; On 2017/06/30 18:07:47, jtt wrote: > ...
3 years, 5 months ago (2017-07-03 08:23:46 UTC) #7
jtt_webrtc
On 2017/07/03 08:23:46, magjed_webrtc wrote: > https://codereview.webrtc.org/2964703002/diff/1/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m > File webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m > (right): > > https://codereview.webrtc.org/2964703002/diff/1/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m#newcode123 ...
3 years, 5 months ago (2017-07-05 16:54:52 UTC) #10
magjed_webrtc
On 2017/07/05 16:54:52, jtt wrote: > On 2017/07/03 08:23:46, magjed_webrtc wrote: > > > https://codereview.webrtc.org/2964703002/diff/1/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m ...
3 years, 5 months ago (2017-07-06 08:12:52 UTC) #11
jtt_webrtc
On 2017/07/06 08:12:52, magjed_webrtc wrote: > On 2017/07/05 16:54:52, jtt wrote: > > On 2017/07/03 ...
3 years, 5 months ago (2017-07-06 15:53:21 UTC) #13
magjed_webrtc
On 2017/07/06 15:53:21, jtt wrote: > On 2017/07/06 08:12:52, magjed_webrtc wrote: > > On 2017/07/05 ...
3 years, 5 months ago (2017-07-07 08:28:32 UTC) #15
jtt_webrtc
On 2017/07/07 08:28:32, magjed_webrtc wrote: > On 2017/07/06 15:53:21, jtt wrote: > > On 2017/07/06 ...
3 years, 5 months ago (2017-07-07 15:37:30 UTC) #16
jtt_webrtc
On 2017/07/07 15:37:30, jtt wrote: > On 2017/07/07 08:28:32, magjed_webrtc wrote: > > On 2017/07/06 ...
3 years, 5 months ago (2017-07-07 17:01:30 UTC) #17
magjed_webrtc
On 2017/07/07 15:37:30, jtt wrote: > On 2017/07/07 08:28:32, magjed_webrtc wrote: > > On 2017/07/06 ...
3 years, 5 months ago (2017-07-10 09:39:30 UTC) #18
jtt_webrtc
On 2017/07/10 09:39:30, magjed_webrtc wrote: > On 2017/07/07 15:37:30, jtt wrote: > > On 2017/07/07 ...
3 years, 5 months ago (2017-07-10 15:37:46 UTC) #19
jtt_webrtc
On 2017/07/10 15:37:46, jtt wrote: > On 2017/07/10 09:39:30, magjed_webrtc wrote: > > On 2017/07/07 ...
3 years, 5 months ago (2017-07-10 16:14:28 UTC) #20
jtt_webrtc
On 2017/07/10 16:14:28, jtt wrote: > On 2017/07/10 15:37:46, jtt wrote: > > On 2017/07/10 ...
3 years, 5 months ago (2017-07-10 16:19:12 UTC) #21
jtt_webrtc
Adding more debug logs, here's what I discovered. I logged the EXIF data from the ...
3 years, 5 months ago (2017-07-12 18:11:02 UTC) #22
jtt_webrtc
3 years, 5 months ago (2017-07-12 18:11:22 UTC) #24
jtt_webrtc
Check the EXIF of the image to determine which camera it's coming from. Check only ...
3 years, 5 months ago (2017-07-12 19:16:28 UTC) #25
jtt_webrtc
Currently in the process of adding unit tests.
3 years, 5 months ago (2017-07-12 20:51:48 UTC) #26
jtt_webrtc
Added unit tests for RTCCameraVideoCapturer which is the refactored video apis.
3 years, 5 months ago (2017-07-13 16:28:38 UTC) #27
jtt_webrtc
Added unit test for the old video capturer, RTCAVFoundationVideoCapturerInternal. Added an info.plist for the unit ...
3 years, 5 months ago (2017-07-14 17:59:21 UTC) #28
jtt_webrtc
Removed the unit test for the old video capturer as we're transitioning to the new ...
3 years, 5 months ago (2017-07-14 21:24:09 UTC) #31
jtt_webrtc
-magjed_webrtc, as magjed_webrtc is OOO.
3 years, 5 months ago (2017-07-17 21:27:17 UTC) #33
jtt_webrtc
3 years, 5 months ago (2017-07-18 15:33:02 UTC) #35
tkchin_webrtc
Can you set up a time for us to chat in person next week when ...
3 years, 5 months ago (2017-07-19 21:08:01 UTC) #36
jtt_webrtc
From above (edited to remove extraneous logging): START CAMERA SWITCH Start remove input End remove ...
3 years, 5 months ago (2017-07-19 21:15:25 UTC) #37
kthelgason
On 2017/07/19 21:15:25, jtt_webrtc wrote: > From above (edited to remove extraneous logging): > > ...
3 years, 5 months ago (2017-07-20 08:05:10 UTC) #38
kthelgason
https://codereview.webrtc.org/2964703002/diff/200001/webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm File webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm (right): https://codereview.webrtc.org/2964703002/diff/200001/webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm#newcode174 webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm:174: self.hasStarted = YES; This change seems unrelated. https://codereview.webrtc.org/2964703002/diff/200001/webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm#newcode250 webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm:250: ...
3 years, 5 months ago (2017-07-20 08:07:54 UTC) #39
jtt_webrtc
On 2017/07/20 08:05:10, kthelgason wrote: > On 2017/07/19 21:15:25, jtt_webrtc wrote: > > From above ...
3 years, 5 months ago (2017-07-20 16:26:12 UTC) #40
jtt_webrtc
Moved common code to RTCImageHelper. https://codereview.webrtc.org/2964703002/diff/200001/webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm File webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm (right): https://codereview.webrtc.org/2964703002/diff/200001/webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm#newcode174 webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm:174: self.hasStarted = YES; On ...
3 years, 5 months ago (2017-07-20 16:26:28 UTC) #41
kthelgason
This lgtm. However, I'm not an owner of these files so you will probably need ...
3 years, 5 months ago (2017-07-21 09:25:02 UTC) #43
jtt_webrtc
+magjed as he'll be back Monday.
3 years, 5 months ago (2017-07-21 14:56:18 UTC) #45
magjed_webrtc
https://codereview.webrtc.org/2964703002/diff/220001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m File webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m (right): https://codereview.webrtc.org/2964703002/diff/220001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m#newcode33 webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m:33: @property(assign) BOOL switchingCameras; It looks like we are accessing ...
3 years, 5 months ago (2017-07-24 10:12:51 UTC) #46
jtt_webrtc
https://codereview.webrtc.org/2964703002/diff/220001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m File webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m (right): https://codereview.webrtc.org/2964703002/diff/220001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m#newcode217 webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m:217: usingFrontCamera = [RTCImageHelper isFrontCameraFromSampleBuffer:sampleBuffer]; On 2017/07/24 10:12:50, magjed_webrtc wrote: ...
3 years, 5 months ago (2017-07-24 16:40:36 UTC) #47
tkchin_webrtc
https://codereview.webrtc.org/2964703002/diff/260001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m File webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m (right): https://codereview.webrtc.org/2964703002/diff/260001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m#newcode208 webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m:208: AVCaptureDevicePosition cameraPosition = [RTCImageHelper cameraFromSampleBuffer:sampleBuffer]; nit: name the method ...
3 years, 5 months ago (2017-07-24 21:30:38 UTC) #48
jtt_webrtc
Waiting on an iPhone 4S to test performance of retriving the EXIF on every frame. ...
3 years, 5 months ago (2017-07-24 22:29:52 UTC) #49
jtt_webrtc
On 2017/07/24 22:29:52, jtt_webrtc wrote: > Waiting on an iPhone 4S to test performance of ...
3 years, 5 months ago (2017-07-24 22:41:50 UTC) #50
tkchin_webrtc
lgtm https://codereview.webrtc.org/2964703002/diff/280001/webrtc/sdk/objc/Framework/Classes/Video/RTCImageHelper.h File webrtc/sdk/objc/Framework/Classes/Video/RTCImageHelper.h (right): https://codereview.webrtc.org/2964703002/diff/280001/webrtc/sdk/objc/Framework/Classes/Video/RTCImageHelper.h#newcode16 webrtc/sdk/objc/Framework/Classes/Video/RTCImageHelper.h:16: @interface RTCImageHelper : NSObject nit: consider putting this ...
3 years, 5 months ago (2017-07-24 23:16:54 UTC) #51
jtt_webrtc
I added back the gate keeper to only check the Exif when switching cameras. Please ...
3 years, 5 months ago (2017-07-24 23:20:59 UTC) #52
tkchin_webrtc
https://codereview.webrtc.org/2964703002/diff/300001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.mm File webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.mm (right): https://codereview.webrtc.org/2964703002/diff/300001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.mm#newcode215 webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.mm:215: if (_switchingCameras) { since you are using atomicops, use ...
3 years, 5 months ago (2017-07-24 23:25:21 UTC) #53
jtt_webrtc
On 2017/07/24 23:25:21, tkchin_webrtc wrote: > https://codereview.webrtc.org/2964703002/diff/300001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.mm > File webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.mm > (right): > > https://codereview.webrtc.org/2964703002/diff/300001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.mm#newcode215 ...
3 years, 5 months ago (2017-07-24 23:37:51 UTC) #54
tkchin_webrtc
https://codereview.webrtc.org/2964703002/diff/320001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.mm File webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.mm (right): https://codereview.webrtc.org/2964703002/diff/320001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.mm#newcode156 webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.mm:156: rtc::AtomicOps::Decrement(&_switchingCameras); thinking about this again, I'm not even sure ...
3 years, 5 months ago (2017-07-24 23:43:05 UTC) #55
jtt_webrtc
Removed the gate keeper check and renamed the AVCaptureSession helper class. https://codereview.webrtc.org/2964703002/diff/320001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.mm File webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.mm (right): ...
3 years, 5 months ago (2017-07-24 23:56:14 UTC) #56
tkchin_webrtc
https://codereview.webrtc.org/2964703002/diff/340001/webrtc/sdk/BUILD.gn File webrtc/sdk/BUILD.gn (right): https://codereview.webrtc.org/2964703002/diff/340001/webrtc/sdk/BUILD.gn#newcode263 webrtc/sdk/BUILD.gn:263: "objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.mm", do you still need this?
3 years, 5 months ago (2017-07-25 00:03:43 UTC) #57
jtt_webrtc
On 2017/07/25 00:03:43, tkchin_webrtc wrote: > https://codereview.webrtc.org/2964703002/diff/340001/webrtc/sdk/BUILD.gn > File webrtc/sdk/BUILD.gn (right): > > https://codereview.webrtc.org/2964703002/diff/340001/webrtc/sdk/BUILD.gn#newcode263 > ...
3 years, 5 months ago (2017-07-25 00:08:43 UTC) #58
magjed_webrtc
lgtm https://codereview.webrtc.org/2964703002/diff/350001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m File webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m (right): https://codereview.webrtc.org/2964703002/diff/350001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m#newcode209 webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m:209: if (cameraPosition != AVCaptureDevicePositionUnspecified) { Since we always ...
3 years, 5 months ago (2017-07-25 08:30:11 UTC) #59
jtt_webrtc
Refactored how we get the camera position. https://codereview.webrtc.org/2964703002/diff/340001/webrtc/sdk/BUILD.gn File webrtc/sdk/BUILD.gn (right): https://codereview.webrtc.org/2964703002/diff/340001/webrtc/sdk/BUILD.gn#newcode263 webrtc/sdk/BUILD.gn:263: "objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.mm", On ...
3 years, 5 months ago (2017-07-25 16:10:13 UTC) #60
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2964703002/390001
3 years, 5 months ago (2017-07-25 16:10:43 UTC) #63
commit-bot: I haz the power
Committed patchset #18 (id:390001) as https://chromium.googlesource.com/external/webrtc/+/61b0ed039dcd937d92d49a666c504a0eb2b475c6
3 years, 5 months ago (2017-07-25 16:36:08 UTC) #66
tkchin_webrtc
https://codereview.webrtc.org/2964703002/diff/390001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m File webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m (right): https://codereview.webrtc.org/2964703002/diff/390001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m#newcode200 webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m:200: RTCVideoRotation rotation = RTCVideoRotation_90; shouldn't the logic re-ordering also ...
3 years, 5 months ago (2017-07-25 19:33:30 UTC) #67
jtt_webrtc
3 years, 5 months ago (2017-07-25 20:14:17 UTC) #68
Message was sent while issue was closed.
On 2017/07/25 19:33:30, tkchin_webrtc wrote:
>
https://codereview.webrtc.org/2964703002/diff/390001/webrtc/sdk/objc/Framewor...
> File webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m
> (right):
> 
>
https://codereview.webrtc.org/2964703002/diff/390001/webrtc/sdk/objc/Framewor...
> webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m:200:
> RTCVideoRotation rotation = RTCVideoRotation_90;
> shouldn't the logic re-ordering also apply here?

Change in 2988783002

> 
>
https://codereview.webrtc.org/2964703002/diff/390001/webrtc/sdk/objc/Framewor...
> File webrtc/sdk/objc/Framework/Classes/Video/AVCaptureSession+Device.h
(right):
> 
>
https://codereview.webrtc.org/2964703002/diff/390001/webrtc/sdk/objc/Framewor...
> webrtc/sdk/objc/Framework/Classes/Video/AVCaptureSession+Device.h:16:
@interface
> AVCaptureSession (Device)
> DevicePosition?

Change in 2988783002
> 
>
https://codereview.webrtc.org/2964703002/diff/390001/webrtc/sdk/objc/Framewor...
> File
>
webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm
> (right):
> 
>
https://codereview.webrtc.org/2964703002/diff/390001/webrtc/sdk/objc/Framewor...
>
webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm:221:
> BOOL usingFrontCamera;
> init to NO

Change in 2988783002

Powered by Google App Engine
This is Rietveld 408576698