[Webkit-unassigned] [Bug 241549] [GStreamer][MediaStream] Capture pipeline remains active after track was stopped

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 21 03:16:00 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=241549

--- Comment #13 from James Hilliard <james.hilliard1 at gmail.com> ---
Maybe the state isn't getting synced for the pad-added callback?

https://gstreamer.freedesktop.org/documentation/application-development/basics/elements.html?gi-language=c#element-states

> However, when adding elements dynamically to an already-running pipeline, e.g. from within a "pad-added" signal callback, you need to set it to the desired target state yourself using gst_element_set_state () or gst_element_sync_state_with_parent ().

https://github.com/WebKit/WebKit/blob/11f2fe2dbfa3c3891870bbdddb225318d3ab3b28/Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCapturer.cpp#L95

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220621/5634ccc0/attachment.htm>


More information about the webkit-unassigned mailing list