chore: less obnoxious logging
This commit is contained in:
parent
c0a6f82aee
commit
ac7b98a452
|
@ -220,7 +220,7 @@ impl UdpHandle {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
debug!("VUDP: Sent rtp packet!");
|
trace!("VUDP: Sent rtp packet!");
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,7 +76,7 @@ impl UdpHandler {
|
||||||
|
|
||||||
let data = ip_discovery_packet.packet();
|
let data = ip_discovery_packet.packet();
|
||||||
|
|
||||||
info!("VUDP: Sending Ip Discovery {:?}", &data);
|
debug!("VUDP: Sending Ip Discovery {:?}", &data);
|
||||||
|
|
||||||
let send_res = udp_socket.send(data).await;
|
let send_res = udp_socket.send(data).await;
|
||||||
if let Err(e) = send_res {
|
if let Err(e) = send_res {
|
||||||
|
@ -85,7 +85,7 @@ impl UdpHandler {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
info!("VUDP: Sent packet discovery request");
|
debug!("VUDP: Sent packet discovery request");
|
||||||
|
|
||||||
// Handle the ip discovery response
|
// Handle the ip discovery response
|
||||||
let received_size_or_err = udp_socket.recv(&mut buf).await;
|
let received_size_or_err = udp_socket.recv(&mut buf).await;
|
||||||
|
@ -98,16 +98,9 @@ impl UdpHandler {
|
||||||
|
|
||||||
let received_size = received_size_or_err.unwrap();
|
let received_size = received_size_or_err.unwrap();
|
||||||
|
|
||||||
info!(
|
|
||||||
"VUDP: Receiving messsage: {:?} - (expected {} vs real {})",
|
|
||||||
buf.clone(),
|
|
||||||
size,
|
|
||||||
received_size
|
|
||||||
);
|
|
||||||
|
|
||||||
let receieved_ip_discovery = IpDiscoveryPacket::new(&buf).expect("Could not make ipdiscovery packet from received data, something is very wrong. Please open an issue on the chorus github: https://github.com/polyphony-chat/chorus/issues/new");
|
let receieved_ip_discovery = IpDiscoveryPacket::new(&buf).expect("Could not make ipdiscovery packet from received data, something is very wrong. Please open an issue on the chorus github: https://github.com/polyphony-chat/chorus/issues/new");
|
||||||
|
|
||||||
info!(
|
debug!(
|
||||||
"VUDP: Received ip discovery!!! {:?}",
|
"VUDP: Received ip discovery!!! {:?}",
|
||||||
receieved_ip_discovery
|
receieved_ip_discovery
|
||||||
);
|
);
|
||||||
|
@ -202,7 +195,7 @@ impl UdpHandler {
|
||||||
|
|
||||||
let decrypted = decryption_result.unwrap();
|
let decrypted = decryption_result.unwrap();
|
||||||
|
|
||||||
debug!("VUDP: Successfully decrypted voice data!");
|
trace!("VUDP: Successfully decrypted voice data!");
|
||||||
|
|
||||||
let rtp_with_decrypted_data = discortp::rtp::Rtp {
|
let rtp_with_decrypted_data = discortp::rtp::Rtp {
|
||||||
ssrc: rtp.get_ssrc(),
|
ssrc: rtp.get_ssrc(),
|
||||||
|
|
Loading…
Reference in New Issue