mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-23 03:50:59 +00:00
webrtcsink: dump discovery pipelines on state changes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1238>
This commit is contained in:
parent
7447d95f1b
commit
7f78a8428e
1 changed files with 14 additions and 0 deletions
|
@ -2780,6 +2780,20 @@ impl BaseWebRTCSink {
|
|||
);
|
||||
return Err(err.error().into());
|
||||
}
|
||||
gst::MessageView::StateChanged(s) => {
|
||||
if msg.src() == Some(pipe.0.upcast_ref()) {
|
||||
pipe.0.debug_to_dot_file_with_ts(
|
||||
gst::DebugGraphDetails::all(),
|
||||
format!(
|
||||
"webrtcsink-discovery-{}-{:?}-{:?}",
|
||||
pipe.0.name(),
|
||||
s.old(),
|
||||
s.current()
|
||||
),
|
||||
);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
gst::MessageView::Application(appmsg) => {
|
||||
let caps = match appmsg.structure() {
|
||||
Some(s) => {
|
||||
|
|
Loading…
Reference in a new issue