Keep video latency diagnostics within their clock domains
This commit is contained in:
1 parent
6ff88a94af
commit
d007359118
1 file changed
+2
-2
@@ -149,10 +149,10 @@ static void update_rate(struct call_video_transport *v) {
|
||||
if (now - v->report_us >= 1000000) {
|
||||
DEBUG_DEBUG(DEBUG_CATEGORY_CALL,
|
||||
"video TX flow call=%llu offered=%u accepted=%u audio_busy=%u transport_busy=%u key_wait=%u "
|
||||
"audio_ahead_us=%lld held=%d queue=%u bytes=%u audio_age_us=%lld queue_age_us=%llu tail_ahead_us=%lld",
|
||||
"audio_ahead_us=%lld held=%d queue=%u bytes=%u audio_pts=%lld queue_age_us=%llu tail_ahead_us=%lld",
|
||||
(unsigned long long)s->call_id, v->offered, v->accepted, v->held_busy, v->transport_busy, v->key_wait,
|
||||
(long long)v->max_audio_ahead, held, v->tx_count, v->tx_bytes,
|
||||
(long long)(v->audio_end_pts >= 0 ? (int64_t)now - v->audio_end_pts : 0),
|
||||
(long long)v->audio_end_pts,
|
||||
(unsigned long long)(v->tx_count ? (get_time_tb() - v->tx[0].started_tb) * 100 : 0),
|
||||
(long long)(v->tx_count && v->audio_end_pts >= 0 ? v->tx[v->tx_count - 1].frame.pts_us - v->audio_end_pts : 0));
|
||||
v->report_us = now; v->offered = v->accepted = v->held_busy = v->transport_busy = v->key_wait = 0; v->max_audio_ahead = 0;
|
||||
|
||||
Reference in new issue
Block a user