Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(467)

Unified Diff: webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h

Issue 1237303002: Modified Simulation Framework Jitter Model (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Updated Jitter expected value to suit the truncated gaussian Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h
diff --git a/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h b/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h
index b742f7ffd11c6f5e10177cec702937fe59fac5e9..d62e6d0e2468a49e1f22f023e8f31440331f9ed3 100644
--- a/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h
+++ b/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h
@@ -314,13 +314,16 @@ class JitterFilter : public PacketProcessor {
JitterFilter(PacketProcessorListener* listener, const FlowIds& flow_ids);
virtual ~JitterFilter() {}
- void SetJitter(int64_t stddev_jitter_ms);
+ void SetMaxJitter(int64_t stddev_jitter_ms);
virtual void RunFor(int64_t time_ms, Packets* in_out);
+ void set_reorderdering(bool reordering) { reordering_ = reordering; }
+ int64_t MeanUs();
private:
Random random_;
int64_t stddev_jitter_us_;
int64_t last_send_time_us_;
+ bool reordering_; // False by default.
DISALLOW_IMPLICIT_CONSTRUCTORS(JitterFilter);
};

Powered by Google App Engine
This is Rietveld 408576698