Skip to content

Commit

Permalink
print RR more briefly
Browse files Browse the repository at this point in the history
The line was needlessly chatty and thus harder to read. Currently,
it is a bit more techical but (IMO) somehow easier to read. Since
  it is printed in VERBOSE mode or higher, there should be no problem.
  • Loading branch information
MartinPulec committed Jun 26, 2024
1 parent e6473a0 commit b4bf412
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rtp/rtp_callback.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ static void process_rr(struct rtp *session, rtp_event * e)
}
if(packet_count < 1) packet_count = 1;

log_msg(LOG_LEVEL_INFO, "Receiver of 0x%08x reports RTT=%d usec, loss %.2f%% (out of %d packets)\n",
log_msg(LOG_LEVEL_INFO,
"RR of 0x%08x: RTT=%d usec, loss %.2f%% (of %d pkts)\n",
r->ssrc, RTT, fract_lost, packet_count);
}
}
Expand Down

0 comments on commit b4bf412

Please sign in to comment.