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

Side by Side Diff: webrtc/logging/rtc_event_log/rtc_event_log2text.cc

Issue 2986893002: Piggybacking simulcast id and ALR experiment id into video content type extension. (Closed)
Patch Set: Created 3 years, 4 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 * 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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 std::cout << parsed_stream.GetTimestamp(i) << "\tRTP" 457 std::cout << parsed_stream.GetTimestamp(i) << "\tRTP"
458 << StreamInfo(direction, media_type) 458 << StreamInfo(direction, media_type)
459 << "\tssrc=" << parsed_header.ssrc 459 << "\tssrc=" << parsed_header.ssrc
460 << "\ttimestamp=" << parsed_header.timestamp; 460 << "\ttimestamp=" << parsed_header.timestamp;
461 if (parsed_header.extension.hasAbsoluteSendTime) { 461 if (parsed_header.extension.hasAbsoluteSendTime) {
462 std::cout << "\tAbsSendTime=" 462 std::cout << "\tAbsSendTime="
463 << parsed_header.extension.absoluteSendTime; 463 << parsed_header.extension.absoluteSendTime;
464 } 464 }
465 if (parsed_header.extension.hasVideoContentType) { 465 if (parsed_header.extension.hasVideoContentType) {
466 std::cout << "\tContentType=" 466 std::cout << "\tContentType="
467 << static_cast<int>(parsed_header.extension.videoContentType); 467 << static_cast<uint8_t>(
sprang_webrtc 2017/07/26 14:13:42 This is probably not what you want; I think it wil
ilnik 2017/07/26 14:49:48 Yep, fixed.
468 parsed_header.extension.videoContentType);
468 } 469 }
469 if (parsed_header.extension.hasVideoRotation) { 470 if (parsed_header.extension.hasVideoRotation) {
470 std::cout << "\tRotation=" 471 std::cout << "\tRotation="
471 << static_cast<int>(parsed_header.extension.videoRotation); 472 << static_cast<int>(parsed_header.extension.videoRotation);
472 } 473 }
473 if (parsed_header.extension.hasTransportSequenceNumber) { 474 if (parsed_header.extension.hasTransportSequenceNumber) {
474 std::cout << "\tTransportSeq=" 475 std::cout << "\tTransportSeq="
475 << parsed_header.extension.transportSequenceNumber; 476 << parsed_header.extension.transportSequenceNumber;
476 } 477 }
477 if (parsed_header.extension.hasTransmissionTimeOffset) { 478 if (parsed_header.extension.hasTransmissionTimeOffset) {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 direction); 530 direction);
530 break; 531 break;
531 default: 532 default:
532 break; 533 break;
533 } 534 }
534 } 535 }
535 } 536 }
536 } 537 }
537 return 0; 538 return 0;
538 } 539 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698