Bug 209904 - [iOS] Allow WebKit to use camera in multi-tasking mode
Summary: [iOS] Allow WebKit to use camera in multi-tasking mode
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-04-02 07:01 PDT by Eric Carlson
Modified: 2020-04-02 09:00 PDT (History)
9 users (show)

See Also:


Attachments
Patch (4.43 KB, patch)
2020-04-02 07:08 PDT, Eric Carlson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Carlson 2020-04-02 07:01:43 PDT
Allow WebKit to use camera in multi-tasking mode
Comment 1 Eric Carlson 2020-04-02 07:08:21 PDT
Created attachment 395265 [details]
Patch
Comment 2 Eric Carlson 2020-04-02 07:09:02 PDT
<rdar://problem/60986797>
Comment 3 youenn fablet 2020-04-02 07:11:54 PDT
Comment on attachment 395265 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=395265&action=review

> Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm:398
> +#if PLATFORM(IOS_FAMILY)

Should probably be: #if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV).
Comment 4 Eric Carlson 2020-04-02 08:54:00 PDT
Comment on attachment 395265 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=395265&action=review

>> Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm:398
>> +#if PLATFORM(IOS_FAMILY)
> 
> Should probably be: #if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV).

This file isn't compiled for watch or AppleTV
Comment 5 EWS 2020-04-02 09:00:01 PDT
Committed r259388: <https://trac.webkit.org/changeset/259388>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 395265 [details].