[webkit-changes] [WebKit/WebKit] be6fd5: Expose MediaStreamTrack displaySurface setting
youennf
noreply at github.com
Wed Sep 7 01:16:39 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: be6fd53362dbf2fe352c8db59b7f4568742c95d1
https://github.com/WebKit/WebKit/commit/be6fd53362dbf2fe352c8db59b7f4568742c95d1
Author: Youenn Fablet <youennf at gmail.com>
Date: 2022-09-07 (Wed, 07 Sep 2022)
Changed paths:
A LayoutTests/fast/mediastream/getDisplayMedia-displaySurface-expected.txt
A LayoutTests/fast/mediastream/getDisplayMedia-displaySurface.html
M LayoutTests/platform/glib/TestExpectations
M Source/WebCore/Modules/mediastream/MediaDevices.cpp
M Source/WebCore/Modules/mediastream/MediaStreamTrack.cpp
M Source/WebCore/Modules/mediastream/MediaStreamTrack.h
M Source/WebCore/Modules/mediastream/MediaStreamTrack.idl
M Source/WebCore/Modules/mediastream/MediaTrackSupportedConstraints.h
M Source/WebCore/Modules/mediastream/MediaTrackSupportedConstraints.idl
M Source/WebCore/platform/mediastream/RealtimeMediaSourceCenter.cpp
M Source/WebCore/platform/mediastream/RealtimeMediaSourceSettings.cpp
M Source/WebCore/platform/mediastream/RealtimeMediaSourceSettings.h
Log Message:
-----------
Expose MediaStreamTrack displaySurface setting
https://bugs.webkit.org/show_bug.cgi?id=244809
rdar://problem/99568246
Expose in WebIDL displaySurface as per https://w3c.github.io/mediacapture-screen-share/#extensions-to-mediatrackconstraintset.
Add necesary IPC encoding/decoding code.
Reviewed by Eric Carlson.
* LayoutTests/fast/mediastream/getDisplayMedia-displaySurface-expected.txt: Added.
* LayoutTests/fast/mediastream/getDisplayMedia-displaySurface.html: Added.
* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/Modules/mediastream/MediaDevices.cpp:
(WebCore::MediaDevices::getSupportedConstraints):
* Source/WebCore/Modules/mediastream/MediaStreamTrack.cpp:
(WebCore::MediaStreamTrack::getSettings const):
(WebCore::MediaStreamTrack::getCapabilities const):
* Source/WebCore/Modules/mediastream/MediaStreamTrack.h:
* Source/WebCore/Modules/mediastream/MediaStreamTrack.idl:
* Source/WebCore/Modules/mediastream/MediaTrackSupportedConstraints.h:
* Source/WebCore/Modules/mediastream/MediaTrackSupportedConstraints.idl:
* Source/WebCore/platform/mediastream/RealtimeMediaSourceSettings.cpp:
(WebCore::RealtimeMediaSourceCenter::RealtimeMediaSourceCenter):
(WebCore::RealtimeMediaSourceSettings::displaySurface):
* Source/WebCore/platform/mediastream/RealtimeMediaSourceSettings.h:
(WebCore::RealtimeMediaSourceSettings::encode const):
(WebCore::RealtimeMediaSourceSettings::decode):
Canonical link: https://commits.webkit.org/254216@main
More information about the webkit-changes
mailing list