| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2004 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 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 744 nacks_sent(0), | 744 nacks_sent(0), |
| 745 frame_width(0), | 745 frame_width(0), |
| 746 frame_height(0), | 746 frame_height(0), |
| 747 framerate_rcvd(0), | 747 framerate_rcvd(0), |
| 748 framerate_decoded(0), | 748 framerate_decoded(0), |
| 749 framerate_output(0), | 749 framerate_output(0), |
| 750 framerate_render_input(0), | 750 framerate_render_input(0), |
| 751 framerate_render_output(0), | 751 framerate_render_output(0), |
| 752 frames_received(0), | 752 frames_received(0), |
| 753 frames_decoded(0), | 753 frames_decoded(0), |
| 754 frames_rendered(0), |
| 754 decode_ms(0), | 755 decode_ms(0), |
| 755 max_decode_ms(0), | 756 max_decode_ms(0), |
| 756 jitter_buffer_ms(0), | 757 jitter_buffer_ms(0), |
| 757 min_playout_delay_ms(0), | 758 min_playout_delay_ms(0), |
| 758 render_delay_ms(0), | 759 render_delay_ms(0), |
| 759 target_delay_ms(0), | 760 target_delay_ms(0), |
| 760 current_delay_ms(0), | 761 current_delay_ms(0), |
| 761 capture_start_ntp_time_ms(-1) { | 762 capture_start_ntp_time_ms(-1) { |
| 762 } | 763 } |
| 763 | 764 |
| 764 std::vector<SsrcGroup> ssrc_groups; | 765 std::vector<SsrcGroup> ssrc_groups; |
| 765 // TODO(hbos): Move this to |VideoMediaInfo::receive_codecs|? | 766 // TODO(hbos): Move this to |VideoMediaInfo::receive_codecs|? |
| 766 std::string decoder_implementation_name; | 767 std::string decoder_implementation_name; |
| 767 int packets_concealed; | 768 int packets_concealed; |
| 768 int firs_sent; | 769 int firs_sent; |
| 769 int plis_sent; | 770 int plis_sent; |
| 770 int nacks_sent; | 771 int nacks_sent; |
| 771 int frame_width; | 772 int frame_width; |
| 772 int frame_height; | 773 int frame_height; |
| 773 int framerate_rcvd; | 774 int framerate_rcvd; |
| 774 int framerate_decoded; | 775 int framerate_decoded; |
| 775 int framerate_output; | 776 int framerate_output; |
| 776 // Framerate as sent to the renderer. | 777 // Framerate as sent to the renderer. |
| 777 int framerate_render_input; | 778 int framerate_render_input; |
| 778 // Framerate that the renderer reports. | 779 // Framerate that the renderer reports. |
| 779 int framerate_render_output; | 780 int framerate_render_output; |
| 780 uint32_t frames_received; | 781 uint32_t frames_received; |
| 781 uint32_t frames_decoded; | 782 uint32_t frames_decoded; |
| 783 uint32_t frames_rendered; |
| 782 | 784 |
| 783 // All stats below are gathered per-VideoReceiver, but some will be correlated | 785 // All stats below are gathered per-VideoReceiver, but some will be correlated |
| 784 // across MediaStreamTracks. NOTE(hta): when sinking stats into per-SSRC | 786 // across MediaStreamTracks. NOTE(hta): when sinking stats into per-SSRC |
| 785 // structures, reflect this in the new layout. | 787 // structures, reflect this in the new layout. |
| 786 | 788 |
| 787 // Current frame decode latency. | 789 // Current frame decode latency. |
| 788 int decode_ms; | 790 int decode_ms; |
| 789 // Maximum observed frame decode latency. | 791 // Maximum observed frame decode latency. |
| 790 int max_decode_ms; | 792 int max_decode_ms; |
| 791 // Jitter (network-related) latency. | 793 // Jitter (network-related) latency. |
| (...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1198 const char*, | 1200 const char*, |
| 1199 size_t> SignalDataReceived; | 1201 size_t> SignalDataReceived; |
| 1200 // Signal when the media channel is ready to send the stream. Arguments are: | 1202 // Signal when the media channel is ready to send the stream. Arguments are: |
| 1201 // writable(bool) | 1203 // writable(bool) |
| 1202 sigslot::signal1<bool> SignalReadyToSend; | 1204 sigslot::signal1<bool> SignalReadyToSend; |
| 1203 }; | 1205 }; |
| 1204 | 1206 |
| 1205 } // namespace cricket | 1207 } // namespace cricket |
| 1206 | 1208 |
| 1207 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ | 1209 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ |
| OLD | NEW |