webrtcsink: improve debut message when start session failed

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1853>
This commit is contained in:
Mathieu Duponchelle 2024-10-16 14:04:36 +02:00 committed by GStreamer Marge Bot
parent 785209cc7f
commit 3d257b4819

View file

@ -2420,7 +2420,7 @@ impl BaseWebRTCSink {
false, false,
glib::closure!(#[watch] instance, move |_signaler: glib::Object, session_id: &str, peer_id: &str, offer: Option<&gst_webrtc::WebRTCSessionDescription>|{ glib::closure!(#[watch] instance, move |_signaler: glib::Object, session_id: &str, peer_id: &str, offer: Option<&gst_webrtc::WebRTCSessionDescription>|{
if let Err(err) = instance.imp().start_session(session_id, peer_id, offer) { if let Err(err) = instance.imp().start_session(session_id, peer_id, offer) {
gst::warning!(CAT, obj = instance, "{}", err); gst::warning!(CAT, obj = instance, "{:?}", err);
} }
}), }),
), ),