| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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 #ifndef WEBRTC_VIDEO_SEND_DELAY_STATS_H_ | 11 #ifndef WEBRTC_VIDEO_SEND_DELAY_STATS_H_ |
| 12 #define WEBRTC_VIDEO_SEND_DELAY_STATS_H_ | 12 #define WEBRTC_VIDEO_SEND_DELAY_STATS_H_ |
| 13 | 13 |
| 14 #include <map> | 14 #include <map> |
| 15 #include <memory> | 15 #include <memory> |
| 16 #include <set> | 16 #include <set> |
| 17 | 17 |
| 18 #include "webrtc/base/criticalsection.h" | |
| 19 #include "webrtc/base/thread_annotations.h" | |
| 20 #include "webrtc/common_types.h" | 18 #include "webrtc/common_types.h" |
| 21 #include "webrtc/modules/include/module_common_types.h" | 19 #include "webrtc/modules/include/module_common_types.h" |
| 20 #include "webrtc/rtc_base/criticalsection.h" |
| 21 #include "webrtc/rtc_base/thread_annotations.h" |
| 22 #include "webrtc/system_wrappers/include/clock.h" | 22 #include "webrtc/system_wrappers/include/clock.h" |
| 23 #include "webrtc/video/stats_counter.h" | 23 #include "webrtc/video/stats_counter.h" |
| 24 #include "webrtc/video_send_stream.h" | 24 #include "webrtc/video_send_stream.h" |
| 25 | 25 |
| 26 namespace webrtc { | 26 namespace webrtc { |
| 27 | 27 |
| 28 class SendDelayStats : public SendPacketObserver { | 28 class SendDelayStats : public SendPacketObserver { |
| 29 public: | 29 public: |
| 30 explicit SendDelayStats(Clock* clock); | 30 explicit SendDelayStats(Clock* clock); |
| 31 virtual ~SendDelayStats(); | 31 virtual ~SendDelayStats(); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 std::set<uint32_t> ssrcs_ GUARDED_BY(crit_); | 78 std::set<uint32_t> ssrcs_ GUARDED_BY(crit_); |
| 79 | 79 |
| 80 // Mapped by SSRC. | 80 // Mapped by SSRC. |
| 81 std::map<uint32_t, std::unique_ptr<AvgCounter>> send_delay_counters_ | 81 std::map<uint32_t, std::unique_ptr<AvgCounter>> send_delay_counters_ |
| 82 GUARDED_BY(crit_); | 82 GUARDED_BY(crit_); |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 } // namespace webrtc | 85 } // namespace webrtc |
| 86 #endif // WEBRTC_VIDEO_SEND_DELAY_STATS_H_ | 86 #endif // WEBRTC_VIDEO_SEND_DELAY_STATS_H_ |
| OLD | NEW |