- find total number of received RTP (not RTCP) bytes

This commit is contained in:
2026-08-14 11:32:35 +03:00
parent f29ab8aa13
commit 249e614def
6 changed files with 16 additions and 1 deletions
+1
View File
@@ -359,6 +359,7 @@ void AudioStream::dataArrived(PDatagramSocket s, const void* buffer, int length,
if (!mStat.mFirstRtpTime)
mStat.mFirstRtpTime = std::chrono::steady_clock::now();
mStat.mReceivedRtp++;
mStat.mReceivedRtpBytes += length;
perDst.mReceivedRtp++;
}
else