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

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

Issue 2675583003: RTCRTPStreamStats.ssrc changed type to uint32_t. (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/rtcstatscollector.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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 295
296 // https://w3c.github.io/webrtc-stats/#streamstats-dict* 296 // https://w3c.github.io/webrtc-stats/#streamstats-dict*
297 // TODO(hbos): Tracking bug crbug.com/657854 297 // TODO(hbos): Tracking bug crbug.com/657854
298 class RTCRTPStreamStats : public RTCStats { 298 class RTCRTPStreamStats : public RTCStats {
299 public: 299 public:
300 WEBRTC_RTCSTATS_DECL(); 300 WEBRTC_RTCSTATS_DECL();
301 301
302 RTCRTPStreamStats(const RTCRTPStreamStats& other); 302 RTCRTPStreamStats(const RTCRTPStreamStats& other);
303 ~RTCRTPStreamStats() override; 303 ~RTCRTPStreamStats() override;
304 304
305 RTCStatsMember<std::string> ssrc; 305 RTCStatsMember<uint32_t> ssrc;
306 // TODO(hbos): When the remote case is supported |RTCStatsCollector| needs to 306 // TODO(hbos): When the remote case is supported |RTCStatsCollector| needs to
307 // set this. crbug.com/657855, 657856 307 // set this. crbug.com/657855, 657856
308 RTCStatsMember<std::string> associate_stats_id; 308 RTCStatsMember<std::string> associate_stats_id;
309 // TODO(hbos): Remote case not supported by |RTCStatsCollector|. 309 // TODO(hbos): Remote case not supported by |RTCStatsCollector|.
310 // crbug.com/657855, 657856 310 // crbug.com/657855, 657856
311 RTCStatsMember<bool> is_remote; // = false 311 RTCStatsMember<bool> is_remote; // = false
312 RTCStatsMember<std::string> media_type; 312 RTCStatsMember<std::string> media_type;
313 RTCStatsMember<std::string> track_id; 313 RTCStatsMember<std::string> track_id;
314 RTCStatsMember<std::string> transport_id; 314 RTCStatsMember<std::string> transport_id;
315 RTCStatsMember<std::string> codec_id; 315 RTCStatsMember<std::string> codec_id;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"? 409 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"?
410 RTCStatsMember<std::string> dtls_state; 410 RTCStatsMember<std::string> dtls_state;
411 RTCStatsMember<std::string> selected_candidate_pair_id; 411 RTCStatsMember<std::string> selected_candidate_pair_id;
412 RTCStatsMember<std::string> local_certificate_id; 412 RTCStatsMember<std::string> local_certificate_id;
413 RTCStatsMember<std::string> remote_certificate_id; 413 RTCStatsMember<std::string> remote_certificate_id;
414 }; 414 };
415 415
416 } // namespace webrtc 416 } // namespace webrtc
417 417
418 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ 418 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/pc/rtcstatscollector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698