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:
@ -39,7 +39,8 @@ RtpRtcp::Configuration::Configuration()
|
||||
remote_bitrate_estimator(NULL),
|
||||
paced_sender(NULL),
|
||||
send_bitrate_observer(NULL),
|
||||
send_frame_count_observer(NULL) {
|
||||
send_frame_count_observer(NULL),
|
||||
send_side_delay_observer(NULL) {
|
||||
}
|
||||
|
||||
RtpRtcp* RtpRtcp::CreateRtpRtcp(const RtpRtcp::Configuration& configuration) {
|
||||
@ -64,7 +65,8 @@ ModuleRtpRtcpImpl::ModuleRtpRtcpImpl(const Configuration& configuration)
|
||||
configuration.audio_messages,
|
||||
configuration.paced_sender,
|
||||
configuration.send_bitrate_observer,
|
||||
configuration.send_frame_count_observer),
|
||||
configuration.send_frame_count_observer,
|
||||
configuration.send_side_delay_observer),
|
||||
rtcp_sender_(configuration.id,
|
||||
configuration.audio,
|
||||
configuration.clock,
|
||||
|
||||
Reference in New Issue
Block a user