aboutsummaryrefslogtreecommitdiffstats
path: root/src/AVTInput.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-06-29 17:06:43 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-06-29 17:06:43 +0200
commit35867ba39effd3c40b727e90163d406d4abcd2bf (patch)
treefc7c9f85d7fedf42134facb398c0021f7c914830 /src/AVTInput.h
parentbda603e4d1d963f499b2f1a13d16c5a23e9f0246 (diff)
downloadODR-SourceCompanion-35867ba39effd3c40b727e90163d406d4abcd2bf.tar.gz
ODR-SourceCompanion-35867ba39effd3c40b727e90163d406d4abcd2bf.tar.bz2
ODR-SourceCompanion-35867ba39effd3c40b727e90163d406d4abcd2bf.zip
Add RTP sequence number check
Diffstat (limited to 'src/AVTInput.h')
-rw-r--r--src/AVTInput.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AVTInput.h b/src/AVTInput.h
index 71805c7..294f48f 100644
--- a/src/AVTInput.h
+++ b/src/AVTInput.h
@@ -120,6 +120,7 @@ class AVTInput
std::vector<uint8_t> _currentFrame;
int32_t _nbFrames = 0;
int32_t _expectedFrameIndex = 0;
+ int32_t _previousRtpIndex = -1;
std::chrono::system_clock::time_point _frameZeroTimestamp;
size_t _currentFrameSize = 0;