| OLD | NEW |
| 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 } | 337 } |
| 338 | 338 |
| 339 RTCMediaStreamStats::~RTCMediaStreamStats() { | 339 RTCMediaStreamStats::~RTCMediaStreamStats() { |
| 340 } | 340 } |
| 341 | 341 |
| 342 WEBRTC_RTCSTATS_IMPL(RTCMediaStreamTrackStats, RTCStats, "track", | 342 WEBRTC_RTCSTATS_IMPL(RTCMediaStreamTrackStats, RTCStats, "track", |
| 343 &track_identifier, | 343 &track_identifier, |
| 344 &remote_source, | 344 &remote_source, |
| 345 &ended, | 345 &ended, |
| 346 &detached, | 346 &detached, |
| 347 &ssrc_ids, | |
| 348 &frame_width, | 347 &frame_width, |
| 349 &frame_height, | 348 &frame_height, |
| 350 &frames_per_second, | 349 &frames_per_second, |
| 351 &frames_sent, | 350 &frames_sent, |
| 352 &frames_received, | 351 &frames_received, |
| 353 &frames_decoded, | 352 &frames_decoded, |
| 354 &frames_dropped, | 353 &frames_dropped, |
| 355 &frames_corrupted, | 354 &frames_corrupted, |
| 356 &partial_frames_lost, | 355 &partial_frames_lost, |
| 357 &full_frames_lost, | 356 &full_frames_lost, |
| 358 &audio_level, | 357 &audio_level, |
| 359 &echo_return_loss, | 358 &echo_return_loss, |
| 360 &echo_return_loss_enhancement); | 359 &echo_return_loss_enhancement); |
| 361 | 360 |
| 362 RTCMediaStreamTrackStats::RTCMediaStreamTrackStats( | 361 RTCMediaStreamTrackStats::RTCMediaStreamTrackStats( |
| 363 const std::string& id, int64_t timestamp_us) | 362 const std::string& id, int64_t timestamp_us) |
| 364 : RTCMediaStreamTrackStats(std::string(id), timestamp_us) { | 363 : RTCMediaStreamTrackStats(std::string(id), timestamp_us) { |
| 365 } | 364 } |
| 366 | 365 |
| 367 RTCMediaStreamTrackStats::RTCMediaStreamTrackStats( | 366 RTCMediaStreamTrackStats::RTCMediaStreamTrackStats( |
| 368 std::string&& id, int64_t timestamp_us) | 367 std::string&& id, int64_t timestamp_us) |
| 369 : RTCStats(std::move(id), timestamp_us), | 368 : RTCStats(std::move(id), timestamp_us), |
| 370 track_identifier("trackIdentifier"), | 369 track_identifier("trackIdentifier"), |
| 371 remote_source("remoteSource"), | 370 remote_source("remoteSource"), |
| 372 ended("ended"), | 371 ended("ended"), |
| 373 detached("detached"), | 372 detached("detached"), |
| 374 ssrc_ids("ssrcIds"), | |
| 375 frame_width("frameWidth"), | 373 frame_width("frameWidth"), |
| 376 frame_height("frameHeight"), | 374 frame_height("frameHeight"), |
| 377 frames_per_second("framesPerSecond"), | 375 frames_per_second("framesPerSecond"), |
| 378 frames_sent("framesSent"), | 376 frames_sent("framesSent"), |
| 379 frames_received("framesReceived"), | 377 frames_received("framesReceived"), |
| 380 frames_decoded("framesDecoded"), | 378 frames_decoded("framesDecoded"), |
| 381 frames_dropped("framesDropped"), | 379 frames_dropped("framesDropped"), |
| 382 frames_corrupted("framesCorrupted"), | 380 frames_corrupted("framesCorrupted"), |
| 383 partial_frames_lost("partialFramesLost"), | 381 partial_frames_lost("partialFramesLost"), |
| 384 full_frames_lost("fullFramesLost"), | 382 full_frames_lost("fullFramesLost"), |
| 385 audio_level("audioLevel"), | 383 audio_level("audioLevel"), |
| 386 echo_return_loss("echoReturnLoss"), | 384 echo_return_loss("echoReturnLoss"), |
| 387 echo_return_loss_enhancement("echoReturnLossEnhancement") { | 385 echo_return_loss_enhancement("echoReturnLossEnhancement") { |
| 388 } | 386 } |
| 389 | 387 |
| 390 RTCMediaStreamTrackStats::RTCMediaStreamTrackStats( | 388 RTCMediaStreamTrackStats::RTCMediaStreamTrackStats( |
| 391 const RTCMediaStreamTrackStats& other) | 389 const RTCMediaStreamTrackStats& other) |
| 392 : RTCStats(other.id(), other.timestamp_us()), | 390 : RTCStats(other.id(), other.timestamp_us()), |
| 393 track_identifier(other.track_identifier), | 391 track_identifier(other.track_identifier), |
| 394 remote_source(other.remote_source), | 392 remote_source(other.remote_source), |
| 395 ended(other.ended), | 393 ended(other.ended), |
| 396 detached(other.detached), | 394 detached(other.detached), |
| 397 ssrc_ids(other.ssrc_ids), | |
| 398 frame_width(other.frame_width), | 395 frame_width(other.frame_width), |
| 399 frame_height(other.frame_height), | 396 frame_height(other.frame_height), |
| 400 frames_per_second(other.frames_per_second), | 397 frames_per_second(other.frames_per_second), |
| 401 frames_sent(other.frames_sent), | 398 frames_sent(other.frames_sent), |
| 402 frames_received(other.frames_received), | 399 frames_received(other.frames_received), |
| 403 frames_decoded(other.frames_decoded), | 400 frames_decoded(other.frames_decoded), |
| 404 frames_dropped(other.frames_dropped), | 401 frames_dropped(other.frames_dropped), |
| 405 frames_corrupted(other.frames_corrupted), | 402 frames_corrupted(other.frames_corrupted), |
| 406 partial_frames_lost(other.partial_frames_lost), | 403 partial_frames_lost(other.partial_frames_lost), |
| 407 full_frames_lost(other.full_frames_lost), | 404 full_frames_lost(other.full_frames_lost), |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 635 active_connection(other.active_connection), | 632 active_connection(other.active_connection), |
| 636 selected_candidate_pair_id(other.selected_candidate_pair_id), | 633 selected_candidate_pair_id(other.selected_candidate_pair_id), |
| 637 local_certificate_id(other.local_certificate_id), | 634 local_certificate_id(other.local_certificate_id), |
| 638 remote_certificate_id(other.remote_certificate_id) { | 635 remote_certificate_id(other.remote_certificate_id) { |
| 639 } | 636 } |
| 640 | 637 |
| 641 RTCTransportStats::~RTCTransportStats() { | 638 RTCTransportStats::~RTCTransportStats() { |
| 642 } | 639 } |
| 643 | 640 |
| 644 } // namespace webrtc | 641 } // namespace webrtc |
| OLD | NEW |