| Index: webrtc/pc/currentspeakermonitor.cc
|
| diff --git a/webrtc/pc/currentspeakermonitor.cc b/webrtc/pc/currentspeakermonitor.cc
|
| index e84aa828a1be3beb027c77271160b8bb99e0cfb0..ce0d579486a25d7d82c7a53d35270840803a2f3c 100644
|
| --- a/webrtc/pc/currentspeakermonitor.cc
|
| +++ b/webrtc/pc/currentspeakermonitor.cc
|
| @@ -63,7 +63,7 @@ void CurrentSpeakerMonitor::Stop() {
|
| }
|
|
|
| void CurrentSpeakerMonitor::set_min_time_between_switches(
|
| - uint32_t min_time_between_switches) {
|
| + int min_time_between_switches) {
|
| min_time_between_switches_ = min_time_between_switches;
|
| }
|
|
|
| @@ -165,7 +165,7 @@ void CurrentSpeakerMonitor::OnAudioMonitor(
|
|
|
| // We avoid over-switching by disabling switching for a period of time after
|
| // a switch is done.
|
| - uint32_t now = rtc::Time();
|
| + int64_t now = rtc::TimeMillis();
|
| if (earliest_permitted_switch_time_ <= now &&
|
| current_speaker_ssrc_ != loudest_speaker_ssrc) {
|
| current_speaker_ssrc_ = loudest_speaker_ssrc;
|
|
|