Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f9eeaaf81af518fb70a641e694c3d99dc150b970
https://github.com/WebKit/WebKit/commit/f9eeaaf81af518fb70a641e694c3d99dc150b970
Author: Youenn Fablet <[email protected]>
Date: 2025-04-22 (Tue, 22 Apr 2025)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/interfaces/webrtc-encoded-transform.idl
A
LayoutTests/imported/w3c/web-platform-tests/webrtc-encoded-transform/encoded-frame-clone.https-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/webrtc-encoded-transform/encoded-frame-clone.https.html
A
LayoutTests/imported/w3c/web-platform-tests/webrtc-encoded-transform/encoded-frame-constructors.https-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/webrtc-encoded-transform/encoded-frame-constructors.https.html
A
LayoutTests/imported/w3c/web-platform-tests/webrtc-encoded-transform/encoded-frame-worker.js
M
LayoutTests/imported/w3c/web-platform-tests/webrtc-encoded-transform/idlharness.https.window-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webrtc-encoded-transform/routines.js
M LayoutTests/platform/glib/TestExpectations
M Source/ThirdParty/libwebrtc/Configurations/libwebrtc.exp
M Source/WebCore/Headers.cmake
M Source/WebCore/Modules/mediastream/RTCEncodedAudioFrame.cpp
M Source/WebCore/Modules/mediastream/RTCEncodedAudioFrame.h
M Source/WebCore/Modules/mediastream/RTCEncodedAudioFrame.idl
M Source/WebCore/Modules/mediastream/RTCEncodedVideoFrame.cpp
M Source/WebCore/Modules/mediastream/RTCEncodedVideoFrame.h
M Source/WebCore/Modules/mediastream/RTCEncodedVideoFrame.idl
M Source/WebCore/Modules/mediastream/RTCRtpScriptTransformer.cpp
M Source/WebCore/Modules/mediastream/RTCRtpTransformableFrame.h
M
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransformableFrame.cpp
M
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransformableFrame.h
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
Log Message:
-----------
Add RTCEncodedAudioFrame and RTCEncodedVideoFrame constructors
rdar://149541424
https://bugs.webkit.org/show_bug.cgi?id=291740
Reviewed by Jean-Yves Avenard.
We add support for RTCEncodedAudioFrame and RTCEncodedVideoFrame constructors.
To match the spec, we do not process RTCEncodedAudioFrame and
RTCEncodedVideoFrame when enqueued on a writable if they were not created by
the corresponding readable.
We use libwebrtc routines to update metadata as part of RTCEncodedAudioFrame
and RTCEncodedVideoFrame constructors.
We only partially support metadata changes, based on libwebrtc support and skip
other potential changes.
*
LayoutTests/imported/w3c/web-platform-tests/interfaces/webrtc-encoded-transform.idl:
*
LayoutTests/imported/w3c/web-platform-tests/webrtc-encoded-transform/encoded-frame-clone.https-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/webrtc-encoded-transform/encoded-frame-clone.https.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/webrtc-encoded-transform/encoded-frame-constructors.https-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/webrtc-encoded-transform/encoded-frame-constructors.https.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/webrtc-encoded-transform/encoded-frame-worker.js:
Added.
(onrtctransform.process):
(onrtctransform):
*
LayoutTests/imported/w3c/web-platform-tests/webrtc-encoded-transform/idlharness.https.window-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/webrtc-encoded-transform/routines.js:
(async createConnectionWithTransform):
* Source/ThirdParty/libwebrtc/Configurations/libwebrtc.exp:
* Source/WebCore/Headers.cmake:
* Source/WebCore/Modules/mediastream/RTCEncodedAudioFrame.cpp:
(WebCore::RTCEncodedAudioFrame::create):
* Source/WebCore/Modules/mediastream/RTCEncodedAudioFrame.h:
* Source/WebCore/Modules/mediastream/RTCEncodedAudioFrame.idl:
* Source/WebCore/Modules/mediastream/RTCEncodedVideoFrame.cpp:
(WebCore::RTCEncodedVideoFrame::create):
* Source/WebCore/Modules/mediastream/RTCEncodedVideoFrame.h:
* Source/WebCore/Modules/mediastream/RTCEncodedVideoFrame.idl:
* Source/WebCore/Modules/mediastream/RTCRtpScriptTransformer.cpp:
(WebCore::RTCRtpScriptTransformer::writable):
(WebCore::RTCRtpScriptTransformer::start):
* Source/WebCore/Modules/mediastream/RTCRtpTransformableFrame.h:
(WebCore::RTCRtpTransformableFrame::isFromTransformer const):
(WebCore::RTCRtpTransformableFrame::setTransformer):
*
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransformableFrame.cpp:
(WebCore::LibWebRTCRtpTransformableFrame::setOptions):
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransformableFrame.h:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
Canonical link: https://commits.webkit.org/293951@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes