OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 } | 112 } |
113 | 113 |
114 // Return default values for header extensions, to use on streams without stored | 114 // Return default values for header extensions, to use on streams without stored |
115 // mapping data. Currently this only applies to audio streams, since the mapping | 115 // mapping data. Currently this only applies to audio streams, since the mapping |
116 // is not stored in the event log. | 116 // is not stored in the event log. |
117 // TODO(ivoc): Remove this once this mapping is stored in the event log for | 117 // TODO(ivoc): Remove this once this mapping is stored in the event log for |
118 // audio streams. Tracking bug: webrtc:6399 | 118 // audio streams. Tracking bug: webrtc:6399 |
119 webrtc::RtpHeaderExtensionMap GetDefaultHeaderExtensionMap() { | 119 webrtc::RtpHeaderExtensionMap GetDefaultHeaderExtensionMap() { |
120 webrtc::RtpHeaderExtensionMap default_map; | 120 webrtc::RtpHeaderExtensionMap default_map; |
121 default_map.Register<AudioLevel>(webrtc::RtpExtension::kAudioLevelDefaultId); | 121 default_map.Register<AudioLevel>(webrtc::RtpExtension::kAudioLevelDefaultId); |
| 122 default_map.Register<TransmissionOffset>( |
| 123 webrtc::RtpExtension::kTimestampOffsetDefaultId); |
122 default_map.Register<AbsoluteSendTime>( | 124 default_map.Register<AbsoluteSendTime>( |
123 webrtc::RtpExtension::kAbsSendTimeDefaultId); | 125 webrtc::RtpExtension::kAbsSendTimeDefaultId); |
| 126 default_map.Register<VideoOrientation>( |
| 127 webrtc::RtpExtension::kVideoRotationDefaultId); |
| 128 default_map.Register<VideoContentTypeExtension>( |
| 129 webrtc::RtpExtension::kVideoContentTypeDefaultId); |
| 130 default_map.Register<VideoTimingExtension>( |
| 131 webrtc::RtpExtension::kVideoTimingDefaultId); |
| 132 default_map.Register<TransportSequenceNumber>( |
| 133 webrtc::RtpExtension::kTransportSequenceNumberDefaultId); |
| 134 default_map.Register<PlayoutDelayLimits>( |
| 135 webrtc::RtpExtension::kPlayoutDelayDefaultId); |
124 return default_map; | 136 return default_map; |
125 } | 137 } |
126 | 138 |
127 constexpr float kLeftMargin = 0.01f; | 139 constexpr float kLeftMargin = 0.01f; |
128 constexpr float kRightMargin = 0.02f; | 140 constexpr float kRightMargin = 0.02f; |
129 constexpr float kBottomMargin = 0.02f; | 141 constexpr float kBottomMargin = 0.02f; |
130 constexpr float kTopMargin = 0.05f; | 142 constexpr float kTopMargin = 0.05f; |
131 | 143 |
132 rtc::Optional<double> NetworkDelayDiff_AbsSendTime( | 144 rtc::Optional<double> NetworkDelayDiff_AbsSendTime( |
133 const LoggedRtpPacket& old_packet, | 145 const LoggedRtpPacket& old_packet, |
(...skipping 1577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1711 plot->AppendTimeSeries(std::move(series.second)); | 1723 plot->AppendTimeSeries(std::move(series.second)); |
1712 } | 1724 } |
1713 | 1725 |
1714 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin); | 1726 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin); |
1715 plot->SetYAxis(min_y_axis, max_y_axis, "Relative delay (ms)", kBottomMargin, | 1727 plot->SetYAxis(min_y_axis, max_y_axis, "Relative delay (ms)", kBottomMargin, |
1716 kTopMargin); | 1728 kTopMargin); |
1717 plot->SetTitle("NetEq timing"); | 1729 plot->SetTitle("NetEq timing"); |
1718 } | 1730 } |
1719 } // namespace plotting | 1731 } // namespace plotting |
1720 } // namespace webrtc | 1732 } // namespace webrtc |
OLD | NEW |