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 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
693 firs_sent(0), | 693 firs_sent(0), |
694 plis_sent(0), | 694 plis_sent(0), |
695 nacks_sent(0), | 695 nacks_sent(0), |
696 frame_width(0), | 696 frame_width(0), |
697 frame_height(0), | 697 frame_height(0), |
698 framerate_rcvd(0), | 698 framerate_rcvd(0), |
699 framerate_decoded(0), | 699 framerate_decoded(0), |
700 framerate_output(0), | 700 framerate_output(0), |
701 framerate_render_input(0), | 701 framerate_render_input(0), |
702 framerate_render_output(0), | 702 framerate_render_output(0), |
703 frames_decoded(0), | |
703 decode_ms(0), | 704 decode_ms(0), |
704 max_decode_ms(0), | 705 max_decode_ms(0), |
705 jitter_buffer_ms(0), | 706 jitter_buffer_ms(0), |
706 min_playout_delay_ms(0), | 707 min_playout_delay_ms(0), |
707 render_delay_ms(0), | 708 render_delay_ms(0), |
708 target_delay_ms(0), | 709 target_delay_ms(0), |
709 current_delay_ms(0), | 710 current_delay_ms(0), |
710 capture_start_ntp_time_ms(-1) { | 711 capture_start_ntp_time_ms(-1) { |
711 } | 712 } |
712 | 713 |
713 std::vector<SsrcGroup> ssrc_groups; | 714 std::vector<SsrcGroup> ssrc_groups; |
714 std::string decoder_implementation_name; | 715 std::string decoder_implementation_name; |
715 int packets_concealed; | 716 int packets_concealed; |
716 int firs_sent; | 717 int firs_sent; |
717 int plis_sent; | 718 int plis_sent; |
718 int nacks_sent; | 719 int nacks_sent; |
719 int frame_width; | 720 int frame_width; |
720 int frame_height; | 721 int frame_height; |
721 int framerate_rcvd; | 722 int framerate_rcvd; |
722 int framerate_decoded; | 723 int framerate_decoded; |
723 int framerate_output; | 724 int framerate_output; |
724 // Framerate as sent to the renderer. | 725 // Framerate as sent to the renderer. |
725 int framerate_render_input; | 726 int framerate_render_input; |
726 // Framerate that the renderer reports. | 727 // Framerate that the renderer reports. |
727 int framerate_render_output; | 728 int framerate_render_output; |
729 int frames_decoded; | |
hbos
2016/10/20 16:47:23
Should be uint32_t
sakal
2016/10/21 08:43:06
Done.
| |
728 | 730 |
729 // All stats below are gathered per-VideoReceiver, but some will be correlated | 731 // All stats below are gathered per-VideoReceiver, but some will be correlated |
730 // across MediaStreamTracks. NOTE(hta): when sinking stats into per-SSRC | 732 // across MediaStreamTracks. NOTE(hta): when sinking stats into per-SSRC |
731 // structures, reflect this in the new layout. | 733 // structures, reflect this in the new layout. |
732 | 734 |
733 // Current frame decode latency. | 735 // Current frame decode latency. |
734 int decode_ms; | 736 int decode_ms; |
735 // Maximum observed frame decode latency. | 737 // Maximum observed frame decode latency. |
736 int max_decode_ms; | 738 int max_decode_ms; |
737 // Jitter (network-related) latency. | 739 // Jitter (network-related) latency. |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1133 // Signal when the media channel is ready to send the stream. Arguments are: | 1135 // Signal when the media channel is ready to send the stream. Arguments are: |
1134 // writable(bool) | 1136 // writable(bool) |
1135 sigslot::signal1<bool> SignalReadyToSend; | 1137 sigslot::signal1<bool> SignalReadyToSend; |
1136 // Signal for notifying that the remote side has closed the DataChannel. | 1138 // Signal for notifying that the remote side has closed the DataChannel. |
1137 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; | 1139 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; |
1138 }; | 1140 }; |
1139 | 1141 |
1140 } // namespace cricket | 1142 } // namespace cricket |
1141 | 1143 |
1142 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ | 1144 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ |
OLD | NEW |