From 57f459f43bfd585b82a743be8e7d57a36c4c0d85 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Wed, 1 Dec 2021 13:41:22 +0000 Subject: [PATCH] Dot consumer pipelines when finalizing the pipeline --- plugins/src/webrtcsink/imp.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plugins/src/webrtcsink/imp.rs b/plugins/src/webrtcsink/imp.rs index 446f8d03..344fb90b 100644 --- a/plugins/src/webrtcsink/imp.rs +++ b/plugins/src/webrtcsink/imp.rs @@ -724,6 +724,14 @@ impl CongestionController { impl State { 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() { if let Some(producer) = self .streams