Report frames to the control stream code before FEC reconstruction

This commit is contained in:
Cameron Gutman
2020-12-24 11:05:08 -06:00
parent cca2ba9aab
commit 97ca7b099f
3 changed files with 7 additions and 4 deletions

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) {