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

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: report what we fell back from 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 802 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 framerate_sent(0), 813 framerate_sent(0),
814 nominal_bitrate(0), 814 nominal_bitrate(0),
815 preferred_bitrate(0), 815 preferred_bitrate(0),
816 adapt_reason(0), 816 adapt_reason(0),
817 adapt_changes(0), 817 adapt_changes(0),
818 avg_encode_ms(0), 818 avg_encode_ms(0),
819 encode_usage_percent(0) { 819 encode_usage_percent(0) {
820 } 820 }
821 821
822 std::vector<SsrcGroup> ssrc_groups; 822 std::vector<SsrcGroup> ssrc_groups;
823 std::string encoder_implementation_name;
823 int packets_cached; 824 int packets_cached;
824 int firs_rcvd; 825 int firs_rcvd;
825 int plis_rcvd; 826 int plis_rcvd;
826 int nacks_rcvd; 827 int nacks_rcvd;
827 int input_frame_width; 828 int input_frame_width;
828 int input_frame_height; 829 int input_frame_height;
829 int send_frame_width; 830 int send_frame_width;
830 int send_frame_height; 831 int send_frame_height;
831 int framerate_input; 832 int framerate_input;
832 int framerate_sent; 833 int framerate_sent;
(...skipping 25 matching lines...) Expand all
858 max_decode_ms(0), 859 max_decode_ms(0),
859 jitter_buffer_ms(0), 860 jitter_buffer_ms(0),
860 min_playout_delay_ms(0), 861 min_playout_delay_ms(0),
861 render_delay_ms(0), 862 render_delay_ms(0),
862 target_delay_ms(0), 863 target_delay_ms(0),
863 current_delay_ms(0), 864 current_delay_ms(0),
864 capture_start_ntp_time_ms(-1) { 865 capture_start_ntp_time_ms(-1) {
865 } 866 }
866 867
867 std::vector<SsrcGroup> ssrc_groups; 868 std::vector<SsrcGroup> ssrc_groups;
869 std::string decoder_implementation_name;
868 int packets_concealed; 870 int packets_concealed;
869 int firs_sent; 871 int firs_sent;
870 int plis_sent; 872 int plis_sent;
871 int nacks_sent; 873 int nacks_sent;
872 int frame_width; 874 int frame_width;
873 int frame_height; 875 int frame_height;
874 int framerate_rcvd; 876 int framerate_rcvd;
875 int framerate_decoded; 877 int framerate_decoded;
876 int framerate_output; 878 int framerate_output;
877 // Framerate as sent to the renderer. 879 // Framerate as sent to the renderer.
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
1248 // Signal when the media channel is ready to send the stream. Arguments are: 1250 // Signal when the media channel is ready to send the stream. Arguments are:
1249 // writable(bool) 1251 // writable(bool)
1250 sigslot::signal1<bool> SignalReadyToSend; 1252 sigslot::signal1<bool> SignalReadyToSend;
1251 // Signal for notifying that the remote side has closed the DataChannel. 1253 // Signal for notifying that the remote side has closed the DataChannel.
1252 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; 1254 sigslot::signal1<uint32_t> SignalStreamClosedRemotely;
1253 }; 1255 };
1254 1256
1255 } // namespace cricket 1257 } // namespace cricket
1256 1258
1257 #endif // TALK_MEDIA_BASE_MEDIACHANNEL_H_ 1259 #endif // TALK_MEDIA_BASE_MEDIACHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698