Measure capture clock offset and video audio-barrier latency

This commit is contained in:
evgeny committed 2026-10-15 02:29:09 +02:00
1 parent 4447f25e37
commit 15e4fcb710
2 files changed
+10 -4

No files matched your search

+4 -2
View File
@@ -215,9 +215,11 @@ void CallVideoEngine::transmit() {
int64_t now = nowUs();
if (now - reportAt >= 1000000) {
DEBUG_DEBUG(DEBUG_CATEGORY_CALL,
"video capture flow call=%llu interval_us=%lld captured=%llu encoded=%u keys=%u send_busy=%u paced=%u encode_max_us=%lld",
"video capture flow call=%llu interval_us=%lld captured=%llu encoded=%u keys=%u send_busy=%u paced=%u "
"encode_max_us=%lld capture_age_us=%lld pts=%lld",
(unsigned long long)m->id, (long long)(now - reportAt), (unsigned long long)(captured - captureBase),
encodedCount, keyCount, sendBusy, paced, (long long)encodeMax);
encodedCount, keyCount, sendBusy, paced, (long long)encodeMax,
(long long)(pts >= 0 ? now - pts : 0), (long long)pts);
reportAt = now; captureBase = captured; encodedCount = keyCount = sendBusy = paced = 0; encodeMax = 0;
}
if (revision != userRevision) { userRevision = revision; excluded = 0; }