OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2017 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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 | 392 |
393 if (!FLAGS_noconfig && !FLAGS_novideo && !FLAGS_nooutgoing) { | 393 if (!FLAGS_noconfig && !FLAGS_novideo && !FLAGS_nooutgoing) { |
394 std::cout << parsed_stream.GetTimestamp(i) << "\tVIDEO_SEND_CONFIG"; | 394 std::cout << parsed_stream.GetTimestamp(i) << "\tVIDEO_SEND_CONFIG"; |
395 std::cout << "\tssrcs=" << config.local_ssrc; | 395 std::cout << "\tssrcs=" << config.local_ssrc; |
396 std::cout << "\trtx_ssrcs=" << config.rtx_ssrc; | 396 std::cout << "\trtx_ssrcs=" << config.rtx_ssrc; |
397 std::cout << std::endl; | 397 std::cout << std::endl; |
398 } | 398 } |
399 } | 399 } |
400 if (parsed_stream.GetEventType(i) == | 400 if (parsed_stream.GetEventType(i) == |
401 webrtc::ParsedRtcEventLog::AUDIO_RECEIVER_CONFIG_EVENT) { | 401 webrtc::ParsedRtcEventLog::AUDIO_RECEIVER_CONFIG_EVENT) { |
402 webrtc::AudioReceiveStream::Config config; | 402 webrtc::rtclog::StreamConfig config; |
403 parsed_stream.GetAudioReceiveConfig(i, &config); | 403 parsed_stream.GetAudioReceiveConfig(i, &config); |
404 global_streams.emplace_back(config.rtp.remote_ssrc, | 404 global_streams.emplace_back(config.remote_ssrc, |
405 webrtc::MediaType::AUDIO, | 405 webrtc::MediaType::AUDIO, |
406 webrtc::kIncomingPacket); | 406 webrtc::kIncomingPacket); |
407 global_streams.emplace_back(config.rtp.local_ssrc, | 407 global_streams.emplace_back(config.local_ssrc, |
408 webrtc::MediaType::AUDIO, | 408 webrtc::MediaType::AUDIO, |
409 webrtc::kOutgoingPacket); | 409 webrtc::kOutgoingPacket); |
410 if (!FLAGS_noconfig && !FLAGS_noaudio && !FLAGS_noincoming) { | 410 if (!FLAGS_noconfig && !FLAGS_noaudio && !FLAGS_noincoming) { |
411 std::cout << parsed_stream.GetTimestamp(i) << "\tAUDIO_RECV_CONFIG" | 411 std::cout << parsed_stream.GetTimestamp(i) << "\tAUDIO_RECV_CONFIG" |
412 << "\tssrc=" << config.rtp.remote_ssrc | 412 << "\tssrc=" << config.remote_ssrc |
413 << "\tfeedback_ssrc=" << config.rtp.local_ssrc << std::endl; | 413 << "\tfeedback_ssrc=" << config.local_ssrc << std::endl; |
414 } | 414 } |
415 } | 415 } |
416 if (parsed_stream.GetEventType(i) == | 416 if (parsed_stream.GetEventType(i) == |
417 webrtc::ParsedRtcEventLog::AUDIO_SENDER_CONFIG_EVENT) { | 417 webrtc::ParsedRtcEventLog::AUDIO_SENDER_CONFIG_EVENT) { |
418 webrtc::AudioSendStream::Config config(nullptr); | 418 webrtc::AudioSendStream::Config config(nullptr); |
419 parsed_stream.GetAudioSendConfig(i, &config); | 419 parsed_stream.GetAudioSendConfig(i, &config); |
420 global_streams.emplace_back(config.rtp.ssrc, webrtc::MediaType::AUDIO, | 420 global_streams.emplace_back(config.rtp.ssrc, webrtc::MediaType::AUDIO, |
421 webrtc::kOutgoingPacket); | 421 webrtc::kOutgoingPacket); |
422 if (!FLAGS_noconfig && !FLAGS_noaudio && !FLAGS_nooutgoing) { | 422 if (!FLAGS_noconfig && !FLAGS_noaudio && !FLAGS_nooutgoing) { |
423 std::cout << parsed_stream.GetTimestamp(i) << "\tAUDIO_SEND_CONFIG" | 423 std::cout << parsed_stream.GetTimestamp(i) << "\tAUDIO_SEND_CONFIG" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 PrintPsFeedback(rtcp_block, log_timestamp, direction); | 491 PrintPsFeedback(rtcp_block, log_timestamp, direction); |
492 break; | 492 break; |
493 default: | 493 default: |
494 break; | 494 break; |
495 } | 495 } |
496 } | 496 } |
497 } | 497 } |
498 } | 498 } |
499 return 0; | 499 return 0; |
500 } | 500 } |
OLD | NEW |