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 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
746 frame_width(0), | 746 frame_width(0), |
747 frame_height(0), | 747 frame_height(0), |
748 framerate_rcvd(0), | 748 framerate_rcvd(0), |
749 framerate_decoded(0), | 749 framerate_decoded(0), |
750 framerate_output(0), | 750 framerate_output(0), |
751 framerate_render_input(0), | 751 framerate_render_input(0), |
752 framerate_render_output(0), | 752 framerate_render_output(0), |
753 frames_received(0), | 753 frames_received(0), |
754 frames_decoded(0), | 754 frames_decoded(0), |
755 frames_rendered(0), | 755 frames_rendered(0), |
756 interframe_delay_sum_ms(0), | 756 interframe_delay_max_ms(-1), |
757 decode_ms(0), | 757 decode_ms(0), |
758 max_decode_ms(0), | 758 max_decode_ms(0), |
759 jitter_buffer_ms(0), | 759 jitter_buffer_ms(0), |
760 min_playout_delay_ms(0), | 760 min_playout_delay_ms(0), |
761 render_delay_ms(0), | 761 render_delay_ms(0), |
762 target_delay_ms(0), | 762 target_delay_ms(0), |
763 current_delay_ms(0), | 763 current_delay_ms(0), |
764 capture_start_ntp_time_ms(-1) {} | 764 capture_start_ntp_time_ms(-1) {} |
765 | 765 |
766 std::vector<SsrcGroup> ssrc_groups; | 766 std::vector<SsrcGroup> ssrc_groups; |
767 // TODO(hbos): Move this to |VideoMediaInfo::receive_codecs|? | 767 // TODO(hbos): Move this to |VideoMediaInfo::receive_codecs|? |
768 std::string decoder_implementation_name; | 768 std::string decoder_implementation_name; |
769 int packets_concealed; | 769 int packets_concealed; |
770 int firs_sent; | 770 int firs_sent; |
771 int plis_sent; | 771 int plis_sent; |
772 int nacks_sent; | 772 int nacks_sent; |
773 int frame_width; | 773 int frame_width; |
774 int frame_height; | 774 int frame_height; |
775 int framerate_rcvd; | 775 int framerate_rcvd; |
776 int framerate_decoded; | 776 int framerate_decoded; |
777 int framerate_output; | 777 int framerate_output; |
778 // Framerate as sent to the renderer. | 778 // Framerate as sent to the renderer. |
779 int framerate_render_input; | 779 int framerate_render_input; |
780 // Framerate that the renderer reports. | 780 // Framerate that the renderer reports. |
781 int framerate_render_output; | 781 int framerate_render_output; |
782 uint32_t frames_received; | 782 uint32_t frames_received; |
783 uint32_t frames_decoded; | 783 uint32_t frames_decoded; |
784 uint32_t frames_rendered; | 784 uint32_t frames_rendered; |
785 rtc::Optional<uint64_t> qp_sum; | 785 rtc::Optional<uint64_t> qp_sum; |
786 uint64_t interframe_delay_sum_ms; | 786 int64_t interframe_delay_max_ms; |
787 | 787 |
788 // All stats below are gathered per-VideoReceiver, but some will be correlated | 788 // All stats below are gathered per-VideoReceiver, but some will be correlated |
789 // across MediaStreamTracks. NOTE(hta): when sinking stats into per-SSRC | 789 // across MediaStreamTracks. NOTE(hta): when sinking stats into per-SSRC |
790 // structures, reflect this in the new layout. | 790 // structures, reflect this in the new layout. |
791 | 791 |
792 // Current frame decode latency. | 792 // Current frame decode latency. |
793 int decode_ms; | 793 int decode_ms; |
794 // Maximum observed frame decode latency. | 794 // Maximum observed frame decode latency. |
795 int max_decode_ms; | 795 int max_decode_ms; |
796 // Jitter (network-related) latency. | 796 // Jitter (network-related) latency. |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1224 const char*, | 1224 const char*, |
1225 size_t> SignalDataReceived; | 1225 size_t> SignalDataReceived; |
1226 // Signal when the media channel is ready to send the stream. Arguments are: | 1226 // Signal when the media channel is ready to send the stream. Arguments are: |
1227 // writable(bool) | 1227 // writable(bool) |
1228 sigslot::signal1<bool> SignalReadyToSend; | 1228 sigslot::signal1<bool> SignalReadyToSend; |
1229 }; | 1229 }; |
1230 | 1230 |
1231 } // namespace cricket | 1231 } // namespace cricket |
1232 | 1232 |
1233 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ | 1233 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ |
OLD | NEW |