- find total number of received RTP (not RTCP) bytes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user