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 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
658 nacks_rcvd(0), | 658 nacks_rcvd(0), |
659 send_frame_width(0), | 659 send_frame_width(0), |
660 send_frame_height(0), | 660 send_frame_height(0), |
661 framerate_input(0), | 661 framerate_input(0), |
662 framerate_sent(0), | 662 framerate_sent(0), |
663 nominal_bitrate(0), | 663 nominal_bitrate(0), |
664 preferred_bitrate(0), | 664 preferred_bitrate(0), |
665 adapt_reason(0), | 665 adapt_reason(0), |
666 adapt_changes(0), | 666 adapt_changes(0), |
667 avg_encode_ms(0), | 667 avg_encode_ms(0), |
668 encode_usage_percent(0) { | 668 encode_usage_percent(0), |
669 } | 669 frames_encoded(0) {} |
670 | 670 |
671 std::vector<SsrcGroup> ssrc_groups; | 671 std::vector<SsrcGroup> ssrc_groups; |
672 std::string encoder_implementation_name; | 672 std::string encoder_implementation_name; |
673 int packets_cached; | 673 int packets_cached; |
674 int firs_rcvd; | 674 int firs_rcvd; |
675 int plis_rcvd; | 675 int plis_rcvd; |
676 int nacks_rcvd; | 676 int nacks_rcvd; |
677 int send_frame_width; | 677 int send_frame_width; |
678 int send_frame_height; | 678 int send_frame_height; |
679 int framerate_input; | 679 int framerate_input; |
680 int framerate_sent; | 680 int framerate_sent; |
681 int nominal_bitrate; | 681 int nominal_bitrate; |
682 int preferred_bitrate; | 682 int preferred_bitrate; |
683 int adapt_reason; | 683 int adapt_reason; |
684 int adapt_changes; | 684 int adapt_changes; |
685 int avg_encode_ms; | 685 int avg_encode_ms; |
686 int encode_usage_percent; | 686 int encode_usage_percent; |
687 int frames_encoded; | |
hbos
2016/10/20 16:45:08
Fix in this or a follow-up: In the linked spec thi
sakal
2016/10/21 08:38:34
Done.
| |
687 }; | 688 }; |
688 | 689 |
689 struct VideoReceiverInfo : public MediaReceiverInfo { | 690 struct VideoReceiverInfo : public MediaReceiverInfo { |
690 VideoReceiverInfo() | 691 VideoReceiverInfo() |
691 : packets_concealed(0), | 692 : packets_concealed(0), |
692 firs_sent(0), | 693 firs_sent(0), |
693 plis_sent(0), | 694 plis_sent(0), |
694 nacks_sent(0), | 695 nacks_sent(0), |
695 frame_width(0), | 696 frame_width(0), |
696 frame_height(0), | 697 frame_height(0), |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1132 // Signal when the media channel is ready to send the stream. Arguments are: | 1133 // Signal when the media channel is ready to send the stream. Arguments are: |
1133 // writable(bool) | 1134 // writable(bool) |
1134 sigslot::signal1<bool> SignalReadyToSend; | 1135 sigslot::signal1<bool> SignalReadyToSend; |
1135 // Signal for notifying that the remote side has closed the DataChannel. | 1136 // Signal for notifying that the remote side has closed the DataChannel. |
1136 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; | 1137 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; |
1137 }; | 1138 }; |
1138 | 1139 |
1139 } // namespace cricket | 1140 } // namespace cricket |
1140 | 1141 |
1141 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ | 1142 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ |
OLD | NEW |