Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[GStreamer][WebRTC] Audio is not played from an audio element when th…
…e srcObject object has unstarted video tracks https://bugs.webkit.org/show_bug.cgi?id=209163 Patch by Philippe Normand <pnormand@igalia.com> on 2021-04-06 Reviewed by Xabier Rodriguez-Calvar. Source/WebCore: Ensure no MediaStream (active) video tracks can be added in a pipeline representing an <audio> element. * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::MediaPlayerPrivateGStreamer::sourceSetup): (WebCore::MediaPlayerPrivateGStreamer::hasFirstSampleReachedSink const): (WebCore::MediaPlayerPrivateGStreamer::videoSinkCapsChanged): (WebCore::MediaPlayerPrivateGStreamer::playbackPosition const): (WebCore::MediaPlayerPrivateGStreamer::updateTracks): * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h: * platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp: (webkitMediaStreamSrcPostStreamCollection): (webkitMediaStreamSrcSetStream): * platform/mediastream/gstreamer/GStreamerMediaStreamSource.h: LayoutTests: * platform/glib/TestExpectations: Unflag now-passing test. Canonical link: https://commits.webkit.org/236171@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275514 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
6ab97f2
commit adca9bb7ad481b3438890390c6b457f72a3b90ee
Showing
7 changed files
with
64 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters