diff --git a/generic/threadshare/src/udpsink/imp.rs b/generic/threadshare/src/udpsink/imp.rs index 138d15e9..25203086 100644 --- a/generic/threadshare/src/udpsink/imp.rs +++ b/generic/threadshare/src/udpsink/imp.rs @@ -1082,8 +1082,8 @@ impl ObjectImpl for UdpSink { .unwrap_or_else(|| "".into()); let clients = clients.split(',').filter_map(|client| { - let mut splited = client.splitn(2, ':'); - if let Some((addr, port)) = splited.next().zip(splited.next()) { + let mut split = client.splitn(2, ':'); + if let Some((addr, port)) = split.next().zip(split.next()) { match port.parse::() { Ok(port) => match self.try_into_socket_addr(addr, port) { Ok(socket_addr) => Some(socket_addr), diff --git a/net/webrtc/src/webrtcsink/imp.rs b/net/webrtc/src/webrtcsink/imp.rs index 65aeab6d..187aab0e 100644 --- a/net/webrtc/src/webrtcsink/imp.rs +++ b/net/webrtc/src/webrtcsink/imp.rs @@ -2685,7 +2685,7 @@ impl BaseWebRTCSink { signaller.end_session(session_id); } - gst::warning!(CAT, obj: element, "Consumer did not provide valid payload for media sesion: {session_id} media_ix: {media_idx}"); + gst::warning!(CAT, obj: element, "Consumer did not provide valid payload for media session: {session_id} media_ix: {media_idx}"); return; } }