Chromium Code Reviews| 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 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 frames_encoded(0) {} | 669 frames_encoded(0), |
| 670 qp_sum(0) {} | |
| 670 | 671 |
| 671 std::vector<SsrcGroup> ssrc_groups; | 672 std::vector<SsrcGroup> ssrc_groups; |
| 672 std::string encoder_implementation_name; | 673 std::string encoder_implementation_name; |
| 673 int packets_cached; | 674 int packets_cached; |
| 674 int firs_rcvd; | 675 int firs_rcvd; |
| 675 int plis_rcvd; | 676 int plis_rcvd; |
| 676 int nacks_rcvd; | 677 int nacks_rcvd; |
| 677 int send_frame_width; | 678 int send_frame_width; |
| 678 int send_frame_height; | 679 int send_frame_height; |
| 679 int framerate_input; | 680 int framerate_input; |
| 680 int framerate_sent; | 681 int framerate_sent; |
| 681 int nominal_bitrate; | 682 int nominal_bitrate; |
| 682 int preferred_bitrate; | 683 int preferred_bitrate; |
| 683 int adapt_reason; | 684 int adapt_reason; |
| 684 int adapt_changes; | 685 int adapt_changes; |
| 685 int avg_encode_ms; | 686 int avg_encode_ms; |
| 686 int encode_usage_percent; | 687 int encode_usage_percent; |
| 687 int frames_encoded; | 688 int frames_encoded; |
| 689 int qp_sum; | |
|
hbos
2016/10/20 17:08:21
Should be uint32_t.
What about the decoded case?
sakal
2016/10/21 08:59:43
I'd prefer to implement it in another CL. It will
| |
| 688 }; | 690 }; |
| 689 | 691 |
| 690 struct VideoReceiverInfo : public MediaReceiverInfo { | 692 struct VideoReceiverInfo : public MediaReceiverInfo { |
| 691 VideoReceiverInfo() | 693 VideoReceiverInfo() |
| 692 : packets_concealed(0), | 694 : packets_concealed(0), |
| 693 firs_sent(0), | 695 firs_sent(0), |
| 694 plis_sent(0), | 696 plis_sent(0), |
| 695 nacks_sent(0), | 697 nacks_sent(0), |
| 696 frame_width(0), | 698 frame_width(0), |
| 697 frame_height(0), | 699 frame_height(0), |
| (...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1135 // Signal when the media channel is ready to send the stream. Arguments are: | 1137 // Signal when the media channel is ready to send the stream. Arguments are: |
| 1136 // writable(bool) | 1138 // writable(bool) |
| 1137 sigslot::signal1<bool> SignalReadyToSend; | 1139 sigslot::signal1<bool> SignalReadyToSend; |
| 1138 // Signal for notifying that the remote side has closed the DataChannel. | 1140 // Signal for notifying that the remote side has closed the DataChannel. |
| 1139 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; | 1141 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; |
| 1140 }; | 1142 }; |
| 1141 | 1143 |
| 1142 } // namespace cricket | 1144 } // namespace cricket |
| 1143 | 1145 |
| 1144 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ | 1146 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ |
| OLD | NEW |