Bug 199811

Summary: [iOS] Make sure the first camera device in the list is the front camera
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebRTCAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, eric.carlson, jer.noble, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description youenn fablet 2019-07-15 15:27:25 PDT
[iOS] Make sure the first camera device in the list is the front camera
Comment 1 Radar WebKit Bug Importer 2019-07-15 15:27:51 PDT
<rdar://problem/53125157>
Comment 2 youenn fablet 2019-07-15 15:38:03 PDT
Created attachment 374156 [details]
Patch
Comment 3 Jer Noble 2019-07-16 10:29:29 PDT
Comment on attachment 374156 [details]
Patch

r=me, with reservations. We're making out-of-spec implementation changes based on some clients' (arguably incorrect) behavior. There's an opportunity for clients to request, specifically, the "user" or "environment" camera if they have a preference, rather than the device default. Clients should use it.
Comment 4 WebKit Commit Bot 2019-07-16 11:56:45 PDT
Comment on attachment 374156 [details]
Patch

Clearing flags on attachment: 374156

Committed r247489: <https://trac.webkit.org/changeset/247489>
Comment 5 WebKit Commit Bot 2019-07-16 11:56:46 PDT
All reviewed patches have been landed.  Closing bug.