webrtcsrc: fix debug message on offer created

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

View file

@ -897,7 +897,7 @@ impl Session {
self.id, self.id,
move |_| { move |_| {
let mut state = element.imp().state.lock().unwrap(); let mut state = element.imp().state.lock().unwrap();
gst::info!(CAT, obj = element, "got answer for session {session_id:?}"); gst::info!(CAT, obj = element, "got offer for session {session_id:?}");
let Some(session) = state.sessions.get_mut(&session_id) else { let Some(session) = state.sessions.get_mut(&session_id) else {
gst::error!(CAT, obj = element, "no session {session_id:?}"); gst::error!(CAT, obj = element, "no session {session_id:?}");
return; return;