chore: demote per-packet debug logs to trace

This commit is contained in:
2026-08-08 13:42:08 +01:00
parent f0a40efc25
commit 98febe4bf3
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -14,7 +14,7 @@ use tokio::{
net::{TcpListener, TcpStream},
time::timeout,
};
use tracing::{debug, info, warn};
use tracing::{debug, info, trace, warn};
use crate::{
StreamCodec, StreamSession,
@@ -406,7 +406,7 @@ impl Rtmp {
let pkt_type = data[0] & 0x0F;
match p.parse(&data, timestamp.value) {
Some(frame) => {
debug!(
trace!(
pkt_type,
is_keyframe = frame.is_keyframe,
ts = frame.timestamp_ms,
@@ -419,7 +419,7 @@ impl Rtmp {
.ok();
}
None => {
debug!(
trace!(
pkt_type,
"AV1 packet produced no frame (seq header or unknown type)"
);
+3 -3
View File
@@ -11,7 +11,7 @@ use tokio::{
net::UdpSocket,
sync::mpsc::{self, Receiver},
};
use tracing::{debug, error, info, warn};
use tracing::{debug, error, info, trace, warn};
pub struct WebRtcProxyConfig {
pub proxy_port: i32,
@@ -97,7 +97,7 @@ impl WebrtcProxy {
// By addr
if let Some(tx) = by_addr.get(&from) {
debug!(
trace!(
"proxy: routing {} bytes by addr {}:{} → channel",
b,
from.ip(),
@@ -120,7 +120,7 @@ impl WebrtcProxy {
};
let Some((part1, part2)) = self::WebrtcProxy::ufrag_pair(&data) else {
debug!("huh, packet isnt stun or added as client.");
trace!("huh, packet isnt stun or added as client.");
continue;
};
// Try both parts of the STUN username — the first packet