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