| Index: webrtc/modules/video_coding/qm_select.h | 
| diff --git a/webrtc/modules/video_coding/qm_select.h b/webrtc/modules/video_coding/qm_select.h | 
| index ae0463f4997b6ee1732a743ed9acf5b5e944bc08..764b5ed8e37e3238c60996c14327c1a4db62137e 100644 | 
| --- a/webrtc/modules/video_coding/qm_select.h | 
| +++ b/webrtc/modules/video_coding/qm_select.h | 
| @@ -322,5 +322,35 @@ | 
| int num_layers_; | 
| }; | 
|  | 
| +// Robustness settings class. | 
| + | 
| +class VCMQmRobustness : public VCMQmMethod { | 
| + public: | 
| +  VCMQmRobustness(); | 
| +  ~VCMQmRobustness(); | 
| + | 
| +  virtual void Reset(); | 
| + | 
| +  // Adjust FEC rate based on content: every ~1 sec from SetTargetRates. | 
| +  // Returns an adjustment factor. | 
| +  float AdjustFecFactor(uint8_t code_rate_delta, | 
| +                        float total_rate, | 
| +                        float framerate, | 
| +                        int64_t rtt_time, | 
| +                        uint8_t packet_loss); | 
| + | 
| +  // Set the UEP protection on/off. | 
| +  bool SetUepProtection(uint8_t code_rate_delta, | 
| +                        float total_rate, | 
| +                        uint8_t packet_loss, | 
| +                        bool frame_type); | 
| + | 
| + private: | 
| +  // Previous state of network parameters. | 
| +  float prev_total_rate_; | 
| +  int64_t prev_rtt_time_; | 
| +  uint8_t prev_packet_loss_; | 
| +  uint8_t prev_code_rate_delta_; | 
| +}; | 
| }  // namespace webrtc | 
| #endif  // WEBRTC_MODULES_VIDEO_CODING_QM_SELECT_H_ | 
|  |