Chromium Code Reviews| Index: webrtc/video_engine/vie_channel.h |
| diff --git a/webrtc/video_engine/vie_channel.h b/webrtc/video_engine/vie_channel.h |
| index f18ada5d444e4ef2518eb7542853711ae37f16cd..1fc87b175fb9f9d1e73d84dd1d27346c5a9fce97 100644 |
| --- a/webrtc/video_engine/vie_channel.h |
| +++ b/webrtc/video_engine/vie_channel.h |
| @@ -316,7 +316,7 @@ class ViEChannel : public VCMFrameTypeCallback, |
| static bool ChannelDecodeThreadFunction(void* obj); |
| bool ChannelDecodeProcess(); |
| - void OnRttUpdate(int64_t rtt); |
| + void OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms); |
| int ProtectionRequest(const FecProtectionParams* delta_fec_params, |
| const FecProtectionParams* key_fec_params, |
| @@ -483,6 +483,10 @@ class ViEChannel : public VCMFrameTypeCallback, |
| const rtc::scoped_ptr<ReportBlockStats> report_block_stats_sender_; |
| + int64_t time_of_first_rtt_ms_; |
|
åsapersson
2015/08/07 10:15:57
guarded by crit_
stefan-webrtc
2015/08/07 10:17:40
Done.
|
| + int64_t rtt_sum_ms_; |
| + size_t num_rtts_; |
| + |
| // RtpRtcp modules, declared last as they use other members on construction. |
| const std::vector<RtpRtcp*> rtp_rtcp_modules_; |
| size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_); |