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

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

Issue 1406903002: Expose codec implementation names in stats. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 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
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2004 Google Inc. 3 * Copyright 2004 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 framerate_sent(0), 825 framerate_sent(0),
826 nominal_bitrate(0), 826 nominal_bitrate(0),
827 preferred_bitrate(0), 827 preferred_bitrate(0),
828 adapt_reason(0), 828 adapt_reason(0),
829 adapt_changes(0), 829 adapt_changes(0),
830 avg_encode_ms(0), 830 avg_encode_ms(0),
831 encode_usage_percent(0) { 831 encode_usage_percent(0) {
832 } 832 }
833 833
834 std::vector<SsrcGroup> ssrc_groups; 834 std::vector<SsrcGroup> ssrc_groups;
835 std::string encoder_implementation_name;
835 int packets_cached; 836 int packets_cached;
836 int firs_rcvd; 837 int firs_rcvd;
837 int plis_rcvd; 838 int plis_rcvd;
838 int nacks_rcvd; 839 int nacks_rcvd;
839 int input_frame_width; 840 int input_frame_width;
840 int input_frame_height; 841 int input_frame_height;
841 int send_frame_width; 842 int send_frame_width;
842 int send_frame_height; 843 int send_frame_height;
843 int framerate_input; 844 int framerate_input;
844 int framerate_sent; 845 int framerate_sent;
(...skipping 25 matching lines...) Expand all
870 max_decode_ms(0), 871 max_decode_ms(0),
871 jitter_buffer_ms(0), 872 jitter_buffer_ms(0),
872 min_playout_delay_ms(0), 873 min_playout_delay_ms(0),
873 render_delay_ms(0), 874 render_delay_ms(0),
874 target_delay_ms(0), 875 target_delay_ms(0),
875 current_delay_ms(0), 876 current_delay_ms(0),
876 capture_start_ntp_time_ms(-1) { 877 capture_start_ntp_time_ms(-1) {
877 } 878 }
878 879
879 std::vector<SsrcGroup> ssrc_groups; 880 std::vector<SsrcGroup> ssrc_groups;
881 std::string decoder_implementation_name;
880 int packets_concealed; 882 int packets_concealed;
881 int firs_sent; 883 int firs_sent;
882 int plis_sent; 884 int plis_sent;
883 int nacks_sent; 885 int nacks_sent;
884 int frame_width; 886 int frame_width;
885 int frame_height; 887 int frame_height;
886 int framerate_rcvd; 888 int framerate_rcvd;
887 int framerate_decoded; 889 int framerate_decoded;
888 int framerate_output; 890 int framerate_output;
889 // Framerate as sent to the renderer. 891 // Framerate as sent to the renderer.
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
1260 // Signal when the media channel is ready to send the stream. Arguments are: 1262 // Signal when the media channel is ready to send the stream. Arguments are:
1261 // writable(bool) 1263 // writable(bool)
1262 sigslot::signal1<bool> SignalReadyToSend; 1264 sigslot::signal1<bool> SignalReadyToSend;
1263 // Signal for notifying that the remote side has closed the DataChannel. 1265 // Signal for notifying that the remote side has closed the DataChannel.
1264 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; 1266 sigslot::signal1<uint32_t> SignalStreamClosedRemotely;
1265 }; 1267 };
1266 1268
1267 } // namespace cricket 1269 } // namespace cricket
1268 1270
1269 #endif // TALK_MEDIA_BASE_MEDIACHANNEL_H_ 1271 #endif // TALK_MEDIA_BASE_MEDIACHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698