Changeset 259692 in webkit
- Timestamp:
- Apr 7, 2020, 5:32:39 PM (6 years ago)
- Location:
- branches/safari-609-branch/Source/WebCore
- Files:
-
- 5 edited
-
ChangeLog (modified) (1 diff)
-
PAL/ChangeLog (modified) (1 diff)
-
PAL/pal/cocoa/AVFoundationSoftLink.h (modified) (1 diff)
-
PAL/pal/cocoa/AVFoundationSoftLink.mm (modified) (1 diff)
-
platform/mediastream/mac/AVVideoCaptureSource.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-609-branch/Source/WebCore/ChangeLog
r259691 r259692 1 2020-04-07 Russell Epstein <repstein@apple.com> 2 3 Cherry-pick r259388. rdar://problem/61269730 4 5 [iOS] Allow WebKit to use camera in multi-tasking mode 6 https://bugs.webkit.org/show_bug.cgi?id=209904 7 8 Reviewed by Youenn Fablet. 9 10 Source/WebCore: 11 12 * platform/mediastream/mac/AVVideoCaptureSource.mm: 13 (WebCore::AVVideoCaptureSource::setupSession): 14 15 Source/WebCore/PAL: 16 17 * pal/cocoa/AVFoundationSoftLink.h: 18 * pal/cocoa/AVFoundationSoftLink.mm: 19 20 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@259388 268f45cc-cd09-0410-ab3c-d52691b4dbfc 21 22 2020-04-02 Eric Carlson <eric.carlson@apple.com> 23 24 [iOS] Allow WebKit to use camera in multi-tasking mode 25 https://bugs.webkit.org/show_bug.cgi?id=209904 26 27 Reviewed by Youenn Fablet. 28 29 * platform/mediastream/mac/AVVideoCaptureSource.mm: 30 (WebCore::AVVideoCaptureSource::setupSession): 31 1 32 2020-04-07 Russell Epstein <repstein@apple.com> 2 33 -
branches/safari-609-branch/Source/WebCore/PAL/ChangeLog
r256818 r259692 1 2020-04-07 Russell Epstein <repstein@apple.com> 2 3 Cherry-pick r259388. rdar://problem/61269730 4 5 [iOS] Allow WebKit to use camera in multi-tasking mode 6 https://bugs.webkit.org/show_bug.cgi?id=209904 7 8 Reviewed by Youenn Fablet. 9 10 Source/WebCore: 11 12 * platform/mediastream/mac/AVVideoCaptureSource.mm: 13 (WebCore::AVVideoCaptureSource::setupSession): 14 15 Source/WebCore/PAL: 16 17 * pal/cocoa/AVFoundationSoftLink.h: 18 * pal/cocoa/AVFoundationSoftLink.mm: 19 20 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@259388 268f45cc-cd09-0410-ab3c-d52691b4dbfc 21 22 2020-04-02 Eric Carlson <eric.carlson@apple.com> 23 24 [iOS] Allow WebKit to use camera in multi-tasking mode 25 https://bugs.webkit.org/show_bug.cgi?id=209904 26 27 Reviewed by Youenn Fablet. 28 29 * pal/cocoa/AVFoundationSoftLink.h: 30 * pal/cocoa/AVFoundationSoftLink.mm: 31 1 32 2020-02-17 Alan Coon <alancoon@apple.com> 2 33 -
branches/safari-609-branch/Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.h
r254476 r259692 291 291 SOFT_LINK_CONSTANT_FOR_HEADER(PAL, AVFoundation, AVAudioSessionMediaServicesWereResetNotification, NSString *) 292 292 #define AVAudioSessionMediaServicesWereResetNotification PAL::get_AVFoundation_AVAudioSessionMediaServicesWereResetNotification() 293 #endif // PLATFORM(IOS_FAMILY) 293 #endif // PLATFORM(IOS_FAMILY) 294 295 #if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV) 296 SOFT_LINK_FUNCTION_FOR_HEADER(PAL, AVFoundation, AVCaptureSessionSetAuthorizedToUseCameraInMultipleForegroundAppLayout, void, (AVCaptureSession *session), (session)) 297 #define AVCaptureSessionSetAuthorizedToUseCameraInMultipleForegroundAppLayout softLink_AVFoundation_AVCaptureSessionSetAuthorizedToUseCameraInMultipleForegroundAppLayout 298 #endif // PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV) 294 299 295 300 #endif // USE(AVFOUNDATION) -
branches/safari-609-branch/Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.mm
r254590 r259692 218 218 #endif 219 219 220 #if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV) 221 SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, AVFoundation, AVCaptureSessionSetAuthorizedToUseCameraInMultipleForegroundAppLayout, void, (AVCaptureSession *session), (session)) 222 #endif // PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV) 223 220 224 #endif // USE(AVFOUNDATION) -
branches/safari-609-branch/Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm
r246644 r259692 395 395 396 396 m_session = adoptNS([PAL::allocAVCaptureSessionInstance() init]); 397 #if PLATFORM(IOS_FAMILY) 398 AVCaptureSessionSetAuthorizedToUseCameraInMultipleForegroundAppLayout(m_session.get()); 399 #endif 397 400 [m_session addObserver:m_objcObserver.get() forKeyPath:@"running" options:NSKeyValueObservingOptionNew context:(void *)nil]; 398 401
Note:
See TracChangeset
for help on using the changeset viewer.