Report frames to the control stream code before FEC reconstruction

This commit is contained in:
Cameron Gutman committed 2020-12-24 11:08:31 -06:00
1 parent cca2ba9aab
commit 97ca7b099f
3 files changed
+7 -4

No files matched your search

+2
View File
@@ -282,6 +282,8 @@ void connectionReceivedCompleteFrame(int frameIndex) {
}
void connectionSawFrame(int frameIndex) {
LC_ASSERT(!isBefore16(frameIndex, lastSeenFrame));
uint64_t now = PltGetMillis();
if (now - intervalStartTimeMs >= CONN_STATUS_SAMPLE_PERIOD) {
if (intervalTotalFrameCount != 0) {