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

Side by Side Diff: webrtc/api/stats/rtcstats_objects.h

Issue 2619353007: RTCRTPStreamStats.mediaTrackId renamed to trackId. (Closed)
Patch Set: Rebase with master Created 3 years, 10 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 | « no previous file | webrtc/pc/rtcstats_integrationtest.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 2016 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2016 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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 ~RTCRTPStreamStats() override; 305 ~RTCRTPStreamStats() override;
306 306
307 RTCStatsMember<std::string> ssrc; 307 RTCStatsMember<std::string> ssrc;
308 // TODO(hbos): When the remote case is supported |RTCStatsCollector| needs to 308 // TODO(hbos): When the remote case is supported |RTCStatsCollector| needs to
309 // set this. crbug.com/657855, 657856 309 // set this. crbug.com/657855, 657856
310 RTCStatsMember<std::string> associate_stats_id; 310 RTCStatsMember<std::string> associate_stats_id;
311 // TODO(hbos): Remote case not supported by |RTCStatsCollector|. 311 // TODO(hbos): Remote case not supported by |RTCStatsCollector|.
312 // crbug.com/657855, 657856 312 // crbug.com/657855, 657856
313 RTCStatsMember<bool> is_remote; // = false 313 RTCStatsMember<bool> is_remote; // = false
314 RTCStatsMember<std::string> media_type; 314 RTCStatsMember<std::string> media_type;
315 RTCStatsMember<std::string> media_track_id; 315 RTCStatsMember<std::string> track_id;
316 RTCStatsMember<std::string> transport_id; 316 RTCStatsMember<std::string> transport_id;
317 RTCStatsMember<std::string> codec_id; 317 RTCStatsMember<std::string> codec_id;
318 // FIR and PLI counts are only defined for |media_type == "video"|. 318 // FIR and PLI counts are only defined for |media_type == "video"|.
319 RTCStatsMember<uint32_t> fir_count; 319 RTCStatsMember<uint32_t> fir_count;
320 RTCStatsMember<uint32_t> pli_count; 320 RTCStatsMember<uint32_t> pli_count;
321 // TODO(hbos): NACK count should be collected by |RTCStatsCollector| for both 321 // TODO(hbos): NACK count should be collected by |RTCStatsCollector| for both
322 // audio and video but is only defined in the "video" case. crbug.com/657856 322 // audio and video but is only defined in the "video" case. crbug.com/657856
323 RTCStatsMember<uint32_t> nack_count; 323 RTCStatsMember<uint32_t> nack_count;
324 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657854 324 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657854
325 // SLI count is only defined for |media_type == "video"|. 325 // SLI count is only defined for |media_type == "video"|.
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"? 411 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"?
412 RTCStatsMember<std::string> dtls_state; 412 RTCStatsMember<std::string> dtls_state;
413 RTCStatsMember<std::string> selected_candidate_pair_id; 413 RTCStatsMember<std::string> selected_candidate_pair_id;
414 RTCStatsMember<std::string> local_certificate_id; 414 RTCStatsMember<std::string> local_certificate_id;
415 RTCStatsMember<std::string> remote_certificate_id; 415 RTCStatsMember<std::string> remote_certificate_id;
416 }; 416 };
417 417
418 } // namespace webrtc 418 } // namespace webrtc
419 419
420 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ 420 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/pc/rtcstats_integrationtest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698