Move pacer to fully use webrtc::Clock instead of webrtc::TickTime.

This required rewriting the send-side delay stats api to be callback based, as otherwise the SuspendBelowMinBitrate test started flaking much more frequently since it had lock order inversion problems.

R=pbos@webrtc.org, tommi@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/21869005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6664 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
stefan@webrtc.org
2014-07-11 13:44:02 +00:00
parent ccbed3b3c4
commit 168f23faa5
24 changed files with 168 additions and 134 deletions

View File

@ -34,10 +34,17 @@ struct RtpStatistics {
};
struct StreamStats {
StreamStats() : key_frames(0), delta_frames(0), bitrate_bps(0) {}
StreamStats()
: key_frames(0),
delta_frames(0),
bitrate_bps(0),
avg_delay_ms(0),
max_delay_ms(0) {}
uint32_t key_frames;
uint32_t delta_frames;
int32_t bitrate_bps;
int avg_delay_ms;
int max_delay_ms;
StreamDataCounters rtp_stats;
RtcpStatistics rtcp_stats;
};