mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-02 16:26:34 +00:00
Dot consumer pipelines when finalizing the pipeline
This commit is contained in:
parent
f9fb18ae1b
commit
57f459f43b
1 changed files with 8 additions and 0 deletions
|
@ -724,6 +724,14 @@ impl CongestionController {
|
||||||
|
|
||||||
impl State {
|
impl State {
|
||||||
fn finalize_consumer(&mut self, element: &super::WebRTCSink, consumer: Consumer, signal: bool) {
|
fn finalize_consumer(&mut self, element: &super::WebRTCSink, consumer: Consumer, signal: bool) {
|
||||||
|
consumer.pipeline.debug_to_dot_file_with_ts(
|
||||||
|
gst::DebugGraphDetails::all(),
|
||||||
|
format!(
|
||||||
|
"removing-peer-{}-",
|
||||||
|
consumer.peer_id,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
|
||||||
for webrtc_pad in consumer.webrtc_pads.values() {
|
for webrtc_pad in consumer.webrtc_pads.values() {
|
||||||
if let Some(producer) = self
|
if let Some(producer) = self
|
||||||
.streams
|
.streams
|
||||||
|
|
Loading…
Reference in a new issue