Skip to content

Commit

Permalink
Enable ManageMediaSource by default on iPhone
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=260692
rdar://114270414

Reviewed by Youenn Fablet.

Enabled on all cocoa platforms where ENABLE_MEDIA_SOURCE is defined.

* Source/WebKit/Shared/WebPreferencesDefaultValues.cpp:
(WebKit::defaultManagedMediaSourceEnabled):

Canonical link: https://commits.webkit.org/267273@main
  • Loading branch information
jyavenard committed Aug 25, 2023
1 parent a7b3c2e commit ff27560
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Source/WebKit/Shared/WebPreferencesDefaultValues.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,7 @@ bool defaultManageCaptureStatusBarInGPUProcessEnabled()
#if ENABLE(MANAGED_MEDIA_SOURCE) && ENABLE(MEDIA_SOURCE)
bool defaultManagedMediaSourceEnabled()
{
#if PLATFORM(IOS_FAMILY)
// Enable everywhere that MediaSource is enabled
return defaultMediaSourceEnabled();
#elif PLATFORM(MAC)
#if PLATFORM(COCOA)
return true;
#else
return false;
Expand Down

0 comments on commit ff27560

Please sign in to comment.