Index: webrtc/modules/video_coding/codecs/test/packet_manipulator.h |
diff --git a/webrtc/modules/video_coding/codecs/test/packet_manipulator.h b/webrtc/modules/video_coding/codecs/test/packet_manipulator.h |
index dfad2e9f61d34d11037c083c5549cdf26cfc2e22..3334be072bee3e818d3c6cefc0a3a103a7b1f8fd 100644 |
--- a/webrtc/modules/video_coding/codecs/test/packet_manipulator.h |
+++ b/webrtc/modules/video_coding/codecs/test/packet_manipulator.h |
@@ -36,10 +36,11 @@ const char* PacketLossModeToStr(PacketLossMode e); |
// scenarios caused by network interference. |
struct NetworkingConfig { |
NetworkingConfig() |
- : packet_size_in_bytes(1500), max_payload_size_in_bytes(1440), |
- packet_loss_mode(kUniform), packet_loss_probability(0.0), |
- packet_loss_burst_length(1) { |
- } |
+ : packet_size_in_bytes(1500), |
+ max_payload_size_in_bytes(1440), |
+ packet_loss_mode(kUniform), |
+ packet_loss_probability(0.0), |
+ packet_loss_burst_length(1) {} |
// Packet size in bytes. Default: 1500 bytes. |
size_t packet_size_in_bytes; |
@@ -93,9 +94,11 @@ class PacketManipulatorImpl : public PacketManipulator { |
virtual ~PacketManipulatorImpl(); |
int ManipulatePackets(webrtc::EncodedImage* encoded_image) override; |
virtual void InitializeRandomSeed(unsigned int seed); |
+ |
protected: |
// Returns a uniformly distributed random value between 0.0 and 1.0 |
virtual double RandomUniform(); |
+ |
private: |
PacketReader* packet_reader_; |
const NetworkingConfig& config_; |