Dot consumer pipelines when finalizing the pipeline

This commit is contained in:
Thibault Saunier 2021-12-01 13:41:22 +00:00 committed by Mathieu Duponchelle
parent f9fb18ae1b
commit 57f459f43b

View file

@ -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