Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: webrtc/media/base/mediachannel.h

Issue 3005193002: Add reporting of googContentType via GetStats on send side (Closed)
Patch Set: Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/call/video_send_stream.h ('k') | webrtc/media/engine/webrtcvideoengine.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 send_frame_width(0), 724 send_frame_width(0),
725 send_frame_height(0), 725 send_frame_height(0),
726 framerate_input(0), 726 framerate_input(0),
727 framerate_sent(0), 727 framerate_sent(0),
728 nominal_bitrate(0), 728 nominal_bitrate(0),
729 preferred_bitrate(0), 729 preferred_bitrate(0),
730 adapt_reason(0), 730 adapt_reason(0),
731 adapt_changes(0), 731 adapt_changes(0),
732 avg_encode_ms(0), 732 avg_encode_ms(0),
733 encode_usage_percent(0), 733 encode_usage_percent(0),
734 frames_encoded(0) {} 734 frames_encoded(0),
735 content_type(webrtc::VideoContentType::UNSPECIFIED) {}
735 736
736 std::vector<SsrcGroup> ssrc_groups; 737 std::vector<SsrcGroup> ssrc_groups;
737 // TODO(hbos): Move this to |VideoMediaInfo::send_codecs|? 738 // TODO(hbos): Move this to |VideoMediaInfo::send_codecs|?
738 std::string encoder_implementation_name; 739 std::string encoder_implementation_name;
739 int packets_cached; 740 int packets_cached;
740 int firs_rcvd; 741 int firs_rcvd;
741 int plis_rcvd; 742 int plis_rcvd;
742 int nacks_rcvd; 743 int nacks_rcvd;
743 int send_frame_width; 744 int send_frame_width;
744 int send_frame_height; 745 int send_frame_height;
745 int framerate_input; 746 int framerate_input;
746 int framerate_sent; 747 int framerate_sent;
747 int nominal_bitrate; 748 int nominal_bitrate;
748 int preferred_bitrate; 749 int preferred_bitrate;
749 int adapt_reason; 750 int adapt_reason;
750 int adapt_changes; 751 int adapt_changes;
751 int avg_encode_ms; 752 int avg_encode_ms;
752 int encode_usage_percent; 753 int encode_usage_percent;
753 uint32_t frames_encoded; 754 uint32_t frames_encoded;
754 rtc::Optional<uint64_t> qp_sum; 755 rtc::Optional<uint64_t> qp_sum;
756 webrtc::VideoContentType content_type;
755 }; 757 };
756 758
757 struct VideoReceiverInfo : public MediaReceiverInfo { 759 struct VideoReceiverInfo : public MediaReceiverInfo {
758 VideoReceiverInfo() 760 VideoReceiverInfo()
759 : packets_concealed(0), 761 : packets_concealed(0),
760 firs_sent(0), 762 firs_sent(0),
761 plis_sent(0), 763 plis_sent(0),
762 nacks_sent(0), 764 nacks_sent(0),
763 frame_width(0), 765 frame_width(0),
764 frame_height(0), 766 frame_height(0),
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
1244 const char*, 1246 const char*,
1245 size_t> SignalDataReceived; 1247 size_t> SignalDataReceived;
1246 // Signal when the media channel is ready to send the stream. Arguments are: 1248 // Signal when the media channel is ready to send the stream. Arguments are:
1247 // writable(bool) 1249 // writable(bool)
1248 sigslot::signal1<bool> SignalReadyToSend; 1250 sigslot::signal1<bool> SignalReadyToSend;
1249 }; 1251 };
1250 1252
1251 } // namespace cricket 1253 } // namespace cricket
1252 1254
1253 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ 1255 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/call/video_send_stream.h ('k') | webrtc/media/engine/webrtcvideoengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698