[webkit-changes] [WebKit/WebKit] 12dd87: Cherry-pick 260441 at main (f6aec317cdae). https://bu...
Philippe Normand
noreply at github.com
Wed Mar 1 14:43:22 PST 2023
Branch: refs/heads/webkitglib/2.38
Home: https://github.com/WebKit/WebKit
Commit: 12dd87f81b8c6dcb70c82eb9000f36aaf54a2c45
https://github.com/WebKit/WebKit/commit/12dd87f81b8c6dcb70c82eb9000f36aaf54a2c45
Author: Philippe Normand <philn at igalia.com>
Date: 2023-03-01 (Wed, 01 Mar 2023)
Changed paths:
M Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp
Log Message:
-----------
Cherry-pick 260441 at main (f6aec317cdae). https://bugs.webkit.org/show_bug.cgi?id=252400
[GStreamer][MediaStream] Cleanup of state-change handling
https://bugs.webkit.org/show_bug.cgi?id=252400
Reviewed by Xabier Rodriguez-Calvar.
Process upward transitions first, then chain to parent class and finally downward transitions. We
also now stop observing tracks when going to NULL state, to match the corresponding upward
transition.
* Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp:
(webkitMediaStreamSrcChangeState):
Canonical link: https://commits.webkit.org/260441@main
Commit: f0479f9c7c454c42d6a4d9512be58f711a9ebfc9
https://github.com/WebKit/WebKit/commit/f0479f9c7c454c42d6a4d9512be58f711a9ebfc9
Author: Philippe Normand <philn at igalia.com>
Date: 2023-03-01 (Wed, 01 Mar 2023)
Changed paths:
M Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp
Log Message:
-----------
Cherry-pick 260504 at main (4fc57f090e9b). https://bugs.webkit.org/show_bug.cgi?id=252397
[GStreamer][MediaStream] Behave as a bandwidth-limited source element
https://bugs.webkit.org/show_bug.cgi?id=252397
Reviewed by Xabier Rodriguez-Calvar.
Similar approach was used for the MSE source element in 260082 at main. This allows urisourcebin to
disable buffering logic that doesn't make much sense anyway for this kind of streaming scenario.
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::configureElement):
* Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp:
(webkitMediaStreamSrcQuery):
(webkit_media_stream_src_class_init):
Canonical link: https://commits.webkit.org/260504@main
Compare: https://github.com/WebKit/WebKit/compare/9d5801c72f2b...f0479f9c7c45
More information about the webkit-changes
mailing list