[webkit-changes] [WebKit/WebKit] f9e2e1: [GStreamer][MediaStream] Unify stream collection h...

Philippe Normand noreply at github.com
Mon Feb 27 03:29:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f9e2e16a6e8d7899cefb934c5a33f98015be0bb2
      https://github.com/WebKit/WebKit/commit/f9e2e16a6e8d7899cefb934c5a33f98015be0bb2
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M LayoutTests/platform/glib/TestExpectations
    M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
    M Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp
    M Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.h

  Log Message:
  -----------
  [GStreamer][MediaStream] Unify stream collection handling with MSE
https://bugs.webkit.org/show_bug.cgi?id=252815

Reviewed by Xabier Rodriguez-Calvar.

Both the MSE and mediastream source elements now post their stream collection in a similar fashion.
The custom mediastream tags handling was removed too, I don't know why that was needed in the first
place.

* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::handleStreamCollectionMessage):
(WebCore::MediaPlayerPrivateGStreamer::naturalSize const):
(WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):
* Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp:
(mediaStreamTrackPrivateGetTags):
(webkitMediaStreamNew):
(WebKitMediaStreamObserver::didRemoveTrack):
(webkitMediaStreamSrcChangeState):
(webkitMediaStreamSrcChain):
(webkitMediaStreamSrcPostStreamCollection):
(webkitMediaStreamSrcEnsureStreamCollectionPosted):
(webkitMediaStreamSrcAddTrack):
(webkitMediaStreamSrcSetStream):
* Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.h:

Canonical link: https://commits.webkit.org/260873@main




More information about the webkit-changes mailing list