OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 |
(...skipping 26 matching lines...) Expand all Loading... |
37 public RtcpPacketTypeCounterObserver, | 37 public RtcpPacketTypeCounterObserver, |
38 public StreamDataCountersCallback { | 38 public StreamDataCountersCallback { |
39 public: | 39 public: |
40 ReceiveStatisticsProxy(uint32_t ssrc, Clock* clock); | 40 ReceiveStatisticsProxy(uint32_t ssrc, Clock* clock); |
41 virtual ~ReceiveStatisticsProxy(); | 41 virtual ~ReceiveStatisticsProxy(); |
42 | 42 |
43 VideoReceiveStream::Stats GetStats() const; | 43 VideoReceiveStream::Stats GetStats() const; |
44 | 44 |
45 void OnDecodedFrame(); | 45 void OnDecodedFrame(); |
46 void OnRenderedFrame(int width, int height); | 46 void OnRenderedFrame(int width, int height); |
| 47 void OnIncomingPayloadType(int payload_type); |
47 | 48 |
48 // Overrides VCMReceiveStatisticsCallback. | 49 // Overrides VCMReceiveStatisticsCallback. |
49 void OnReceiveRatesUpdated(uint32_t bitRate, uint32_t frameRate) override; | 50 void OnReceiveRatesUpdated(uint32_t bitRate, uint32_t frameRate) override; |
50 void OnFrameCountsUpdated(const FrameCounts& frame_counts) override; | 51 void OnFrameCountsUpdated(const FrameCounts& frame_counts) override; |
51 void OnDiscardedPacketsUpdated(int discarded_packets) override; | 52 void OnDiscardedPacketsUpdated(int discarded_packets) override; |
52 | 53 |
53 // Overrides ViEDecoderObserver. | 54 // Overrides ViEDecoderObserver. |
54 void IncomingCodecChanged(const int video_channel, | 55 void IncomingCodecChanged(const int video_channel, |
55 const VideoCodec& video_codec) override {} | 56 const VideoCodec& video_codec) override {} |
56 void IncomingRate(const int video_channel, | 57 void IncomingRate(const int video_channel, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 RateStatistics renders_fps_estimator_ GUARDED_BY(crit_); | 99 RateStatistics renders_fps_estimator_ GUARDED_BY(crit_); |
99 rtc::RateTracker render_fps_tracker_total_ GUARDED_BY(crit_); | 100 rtc::RateTracker render_fps_tracker_total_ GUARDED_BY(crit_); |
100 SampleCounter render_width_counter_ GUARDED_BY(crit_); | 101 SampleCounter render_width_counter_ GUARDED_BY(crit_); |
101 SampleCounter render_height_counter_ GUARDED_BY(crit_); | 102 SampleCounter render_height_counter_ GUARDED_BY(crit_); |
102 SampleCounter decode_time_counter_ GUARDED_BY(crit_); | 103 SampleCounter decode_time_counter_ GUARDED_BY(crit_); |
103 ReportBlockStats report_block_stats_ GUARDED_BY(crit_); | 104 ReportBlockStats report_block_stats_ GUARDED_BY(crit_); |
104 }; | 105 }; |
105 | 106 |
106 } // namespace webrtc | 107 } // namespace webrtc |
107 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ | 108 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ |
OLD | NEW |