| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2  *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 
| 3  * | 3  * | 
| 4  *  Use of this source code is governed by a BSD-style license | 4  *  Use of this source code is governed by a BSD-style license | 
| 5  *  that can be found in the LICENSE file in the root of the source | 5  *  that can be found in the LICENSE file in the root of the source | 
| 6  *  tree. An additional intellectual property rights grant can be found | 6  *  tree. An additional intellectual property rights grant can be found | 
| 7  *  in the file PATENTS.  All contributing project authors may | 7  *  in the file PATENTS.  All contributing project authors may | 
| 8  *  be found in the AUTHORS file in the root of the source tree. | 8  *  be found in the AUTHORS file in the root of the source tree. | 
| 9  */ | 9  */ | 
| 10 | 10 | 
| 11 #include "webrtc/modules/video_coding/receiver.h" | 11 #include "webrtc/modules/video_coding/receiver.h" | 
| 12 | 12 | 
| 13 #include <assert.h> | 13 #include <assert.h> | 
| 14 | 14 | 
| 15 #include <cstdlib> | 15 #include <cstdlib> | 
| 16 #include <utility> | 16 #include <utility> | 
| 17 #include <vector> | 17 #include <vector> | 
| 18 | 18 | 
|  | 19 #include "webrtc/base/logging.h" | 
|  | 20 #include "webrtc/base/trace_event.h" | 
| 19 #include "webrtc/modules/video_coding/encoded_frame.h" | 21 #include "webrtc/modules/video_coding/encoded_frame.h" | 
| 20 #include "webrtc/modules/video_coding/internal_defines.h" | 22 #include "webrtc/modules/video_coding/internal_defines.h" | 
| 21 #include "webrtc/modules/video_coding/media_opt_util.h" | 23 #include "webrtc/modules/video_coding/media_opt_util.h" | 
| 22 #include "webrtc/rtc_base/logging.h" |  | 
| 23 #include "webrtc/rtc_base/trace_event.h" |  | 
| 24 #include "webrtc/system_wrappers/include/clock.h" | 24 #include "webrtc/system_wrappers/include/clock.h" | 
| 25 | 25 | 
| 26 namespace webrtc { | 26 namespace webrtc { | 
| 27 | 27 | 
| 28 enum { kMaxReceiverDelayMs = 10000 }; | 28 enum { kMaxReceiverDelayMs = 10000 }; | 
| 29 | 29 | 
| 30 VCMReceiver::VCMReceiver(VCMTiming* timing, | 30 VCMReceiver::VCMReceiver(VCMTiming* timing, | 
| 31                          Clock* clock, | 31                          Clock* clock, | 
| 32                          EventFactory* event_factory) | 32                          EventFactory* event_factory) | 
| 33     : VCMReceiver::VCMReceiver(timing, | 33     : VCMReceiver::VCMReceiver(timing, | 
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 280   timing_->set_min_playout_delay(desired_delay_ms); | 280   timing_->set_min_playout_delay(desired_delay_ms); | 
| 281   return 0; | 281   return 0; | 
| 282 } | 282 } | 
| 283 | 283 | 
| 284 void VCMReceiver::RegisterStatsCallback( | 284 void VCMReceiver::RegisterStatsCallback( | 
| 285     VCMReceiveStatisticsCallback* callback) { | 285     VCMReceiveStatisticsCallback* callback) { | 
| 286   jitter_buffer_.RegisterStatsCallback(callback); | 286   jitter_buffer_.RegisterStatsCallback(callback); | 
| 287 } | 287 } | 
| 288 | 288 | 
| 289 }  // namespace webrtc | 289 }  // namespace webrtc | 
| OLD | NEW | 
|---|