Changeset 272507 in webkit


Ignore:
Timestamp:
Feb 8, 2021 12:22:23 PM (3 years ago)
Author:
youenn@apple.com
Message:

[MacOS] Enable Audio Capture in GPUProcess by default
https://bugs.webkit.org/show_bug.cgi?id=221400

Reviewed by Eric Carlson.

Source/WebKit:

Manually tested.

  • Shared/WebPreferencesDefaultValues.cpp:

(WebKit::defaultCaptureAudioInGPUProcessEnabled):

Tools:

  • TestWebKitAPI/Tests/WebKit/GetUserMediaReprompt.mm:

(-[GetUserMediaRepromptTestView haveStream:]):
Increase timeout since capture might require spinning GPUProcess.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r272506 r272507  
     12021-02-08  Youenn Fablet  <youenn@apple.com>
     2
     3        [MacOS] Enable Audio Capture in GPUProcess by default
     4        https://bugs.webkit.org/show_bug.cgi?id=221400
     5
     6        Reviewed by Eric Carlson.
     7
     8        Manually tested.
     9
     10        * Shared/WebPreferencesDefaultValues.cpp:
     11        (WebKit::defaultCaptureAudioInGPUProcessEnabled):
     12
    1132021-02-08  David Kilzer  <ddkilzer@apple.com>
    214
  • trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp

    r272496 r272507  
    184184bool defaultCaptureAudioInGPUProcessEnabled()
    185185{
    186 #if HAVE(SYSTEM_FEATURE_FLAGS)
    187 #if PLATFORM(MAC)
    188     return isFeatureFlagEnabled("gpu_process_webrtc");
    189 #elif PLATFORM(IOS_FAMILY)
     186#if PLATFORM(MAC)
     187    return true;
     188#elif HAVE(SYSTEM_FEATURE_FLAGS)
    190189    return isFeatureFlagEnabled("gpu_process_media");
    191 #endif
    192 #endif
    193 
    194     return false;
     190#else
     191    return false;
     192#endif
    195193}
    196194
  • trunk/Tools/ChangeLog

    r272504 r272507  
     12021-02-08  Youenn Fablet  <youenn@apple.com>
     2
     3        [MacOS] Enable Audio Capture in GPUProcess by default
     4        https://bugs.webkit.org/show_bug.cgi?id=221400
     5
     6        Reviewed by Eric Carlson.
     7
     8        * TestWebKitAPI/Tests/WebKit/GetUserMediaReprompt.mm:
     9        (-[GetUserMediaRepromptTestView haveStream:]):
     10        Increase timeout since capture might require spinning GPUProcess.
     11
    1122021-02-08  Youenn Fablet  <youenn@apple.com>
    213
  • trunk/Tools/TestWebKitAPI/Tests/WebKit/GetUserMediaReprompt.mm

    r267563 r272507  
    8686- (BOOL)haveStream:(BOOL)expected
    8787{
    88     int retryCount = 10;
     88    int retryCount = 1000;
    8989    while (retryCount--) {
    9090        auto result = [self stringByEvaluatingJavaScript:@"haveStream()"];
Note: See TracChangeset for help on using the changeset viewer.