Home
last modified time | relevance | path

Searched refs:RtpExtension (Results 1 – 25 of 28) sorted by relevance

12

/external/webrtc/webrtc/
Dconfig.cc24 std::string RtpExtension::ToString() const { in ToString()
32 const char* RtpExtension::kTOffset = "urn:ietf:params:rtp-hdrext:toffset";
33 const char* RtpExtension::kAbsSendTime =
35 const char* RtpExtension::kVideoRotation = "urn:3gpp:video-orientation";
36 const char* RtpExtension::kAudioLevel =
38 const char* RtpExtension::kTransportSequenceNumber =
41 bool RtpExtension::IsSupportedForAudio(const std::string& name) { in IsSupportedForAudio()
42 return name == webrtc::RtpExtension::kAbsSendTime || in IsSupportedForAudio()
43 name == webrtc::RtpExtension::kAudioLevel || in IsSupportedForAudio()
44 name == webrtc::RtpExtension::kTransportSequenceNumber; in IsSupportedForAudio()
[all …]
Dconfig.h54 struct RtpExtension { struct
55 RtpExtension(const std::string& name, int id) : name(name), id(id) {} in RtpExtension() function
57 bool operator==(const RtpExtension& rhs) const {
Daudio_send_stream.h68 std::vector<RtpExtension> extensions;
Daudio_receive_stream.h83 std::vector<RtpExtension> extensions;
Dvideo_receive_stream.h137 std::vector<RtpExtension> extensions;
Dvideo_send_stream.h112 std::vector<RtpExtension> extensions;
/external/webrtc/webrtc/call/
Drampup_tests.cc124 if (extension_type_ == RtpExtension::kAbsSendTime) { in ModifyVideoConfigs()
128 RtpExtension(extension_type_.c_str(), kAbsSendTimeExtensionId)); in ModifyVideoConfigs()
129 } else if (extension_type_ == RtpExtension::kTransportSequenceNumber) { in ModifyVideoConfigs()
132 send_config->rtp.extensions.push_back(RtpExtension( in ModifyVideoConfigs()
137 send_config->rtp.extensions.push_back(RtpExtension( in ModifyVideoConfigs()
185 EXPECT_NE(RtpExtension::kTOffset, extension_type_) in ModifyAudioConfigs()
192 if (extension_type_ == RtpExtension::kAbsSendTime) { in ModifyAudioConfigs()
195 RtpExtension(extension_type_.c_str(), kAbsSendTimeExtensionId)); in ModifyAudioConfigs()
196 } else if (extension_type_ == RtpExtension::kTransportSequenceNumber) { in ModifyAudioConfigs()
198 send_config->rtp.extensions.push_back(RtpExtension( in ModifyAudioConfigs()
[all …]
Dbitrate_estimator_tests.cc137 RtpExtension(RtpExtension::kTOffset, kTOFExtensionId)); in SetUp()
139 RtpExtension(RtpExtension::kAbsSendTime, kASTExtensionId)); in SetUp()
192 RtpExtension(RtpExtension::kAbsSendTime, kASTExtensionId)); in Stream()
269 RtpExtension(RtpExtension::kTOffset, kTOFExtensionId)); in TEST_F()
278 RtpExtension(RtpExtension::kAbsSendTime, kASTExtensionId)); in TEST_F()
289 RtpExtension(RtpExtension::kAbsSendTime, kASTExtensionId)); in TEST_F()
305 RtpExtension(RtpExtension::kAbsSendTime, kASTExtensionId)); in TEST_F()
314 RtpExtension(RtpExtension::kTOffset, kTOFExtensionId)); in TEST_F()
321 RtpExtension(RtpExtension::kAbsSendTime, kASTExtensionId); in TEST_F()
330 RtpExtension(RtpExtension::kTOffset, kTOFExtensionId)); in TEST_F()
[all …]
Drtc_event_log_unittest.cc48 const char* kExtensionNames[] = {RtpExtension::kTOffset,
49 RtpExtension::kAudioLevel,
50 RtpExtension::kAbsSendTime,
51 RtpExtension::kVideoRotation,
52 RtpExtension::kTransportSequenceNumber};
390 RtpExtension(kExtensionNames[i], prng->Rand<int>())); in GenerateVideoReceiveConfig()
410 RtpExtension(kExtensionNames[i], prng->Rand<int>())); in GenerateVideoSendConfig()
/external/webrtc/talk/media/webrtc/
Dwebrtcmediaengine.cc77 std::vector<webrtc::RtpExtension>* extensions, in DiscardRedundantExtensions()
83 [name](const webrtc::RtpExtension& rhs) { in DiscardRedundantExtensions()
112 std::vector<webrtc::RtpExtension> FilterRtpExtensions( in FilterRtpExtensions()
118 std::vector<webrtc::RtpExtension> result; in FilterRtpExtensions()
132 [](const webrtc::RtpExtension& rhs, const webrtc::RtpExtension& lhs) { in FilterRtpExtensions()
139 [](const webrtc::RtpExtension& rhs, const webrtc::RtpExtension& lhs) { in FilterRtpExtensions()
Dwebrtcmediaengine_unittest.cc66 bool IsSorted(const std::vector<webrtc::RtpExtension>& extensions) { in IsSorted()
114 std::vector<webrtc::RtpExtension> filtered = in TEST()
121 std::vector<webrtc::RtpExtension> filtered = in TEST()
130 std::vector<webrtc::RtpExtension> filtered = in TEST()
138 std::vector<webrtc::RtpExtension> filtered = in TEST()
146 std::vector<webrtc::RtpExtension> filtered = in TEST()
155 std::vector<webrtc::RtpExtension> filtered = in TEST()
174 std::vector<webrtc::RtpExtension> filtered = in TEST()
188 std::vector<webrtc::RtpExtension> filtered = in TEST()
200 std::vector<webrtc::RtpExtension> filtered = in TEST()
Dwebrtcvideoengine2.h247 const std::vector<webrtc::RtpExtension>& rtp_extensions,
254 const std::vector<webrtc::RtpExtension>& rtp_extensions);
406 void SetRtpExtensions(const std::vector<webrtc::RtpExtension>& extensions);
522 std::vector<webrtc::RtpExtension> send_rtp_extensions_;
527 std::vector<webrtc::RtpExtension> recv_rtp_extensions_;
Dwebrtcmediaengine.h63 std::vector<webrtc::RtpExtension> FilterRtpExtensions(
Dwebrtcvoiceengine.h279 std::vector<webrtc::RtpExtension> send_rtp_extensions_;
283 std::vector<webrtc::RtpExtension> recv_rtp_extensions_;
Dwebrtcvideoengine2_unittest.cc1181 webrtc::RtpExtension::kTOffset); in TEST_F()
1185 webrtc::RtpExtension::kTOffset); in TEST_F()
1191 webrtc::RtpExtension::kAbsSendTime); in TEST_F()
1195 webrtc::RtpExtension::kAbsSendTime); in TEST_F()
1226 webrtc::RtpExtension::kTransportSequenceNumber); in TEST_F()
1232 webrtc::RtpExtension::kTransportSequenceNumber); in TEST_F()
1238 webrtc::RtpExtension::kVideoRotation); in TEST_F()
1242 webrtc::RtpExtension::kVideoRotation); in TEST_F()
1316 cricket::RtpHeaderExtension(webrtc::RtpExtension::kTOffset, kTOffsetId)); in TEST_F()
1324 EXPECT_STREQ(webrtc::RtpExtension::kTOffset, in TEST_F()
[all …]
Dwebrtcvoiceengine.cc1079 const std::vector<webrtc::RtpExtension>& extensions, in WebRtcAudioSendStream()
1102 const std::vector<webrtc::RtpExtension>& extensions) { in RecreateAudioSendStream()
1208 const std::vector<webrtc::RtpExtension>& extensions, in WebRtcAudioReceiveStream()
1227 const std::vector<webrtc::RtpExtension>& extensions) { in RecreateAudioReceiveStream()
1254 const std::vector<webrtc::RtpExtension>& extensions) { in RecreateAudioReceiveStream()
1317 std::vector<webrtc::RtpExtension> filtered_extensions = in SetSendParameters()
1319 webrtc::RtpExtension::IsSupportedForAudio, true); in SetSendParameters()
1348 std::vector<webrtc::RtpExtension> filtered_extensions = in SetRecvParameters()
1350 webrtc::RtpExtension::IsSupportedForAudio, false); in SetRecvParameters()
/external/webrtc/webrtc/audio/
Daudio_send_stream_unittest.cc100 RtpExtension(RtpExtension::kAudioLevel, kAudioLevelId)); in ConfigHelper()
102 RtpExtension(RtpExtension::kAbsSendTime, kAbsSendTimeId)); in ConfigHelper()
103 stream_config_.rtp.extensions.push_back(RtpExtension( in ConfigHelper()
104 RtpExtension::kTransportSequenceNumber, kTransportSequenceNumberId)); in ConfigHelper()
172 RtpExtension(RtpExtension::kAbsSendTime, kAbsSendTimeId)); in TEST()
Daudio_receive_stream_unittest.cc107 RtpExtension(RtpExtension::kAbsSendTime, kAbsSendTimeId)); in ConfigHelper()
109 RtpExtension(RtpExtension::kAudioLevel, kAudioLevelId)); in ConfigHelper()
209 RtpExtension(RtpExtension::kAbsSendTime, kAbsSendTimeId)); in TEST()
264 helper.config().rtp.extensions.push_back(RtpExtension( in TEST()
265 RtpExtension::kTransportSequenceNumber, kTransportSequenceNumberId)); in TEST()
Daudio_receive_stream.cc41 if (extension.name == RtpExtension::kTransportSequenceNumber) { in UseSendSideBwe()
100 if (extension.name == RtpExtension::kAudioLevel) { in AudioReceiveStream()
105 } else if (extension.name == RtpExtension::kAbsSendTime) { in AudioReceiveStream()
110 } else if (extension.name == RtpExtension::kTransportSequenceNumber) { in AudioReceiveStream()
Daudio_send_stream.cc80 if (extension.name == RtpExtension::kAbsSendTime) { in AudioSendStream()
82 } else if (extension.name == RtpExtension::kAudioLevel) { in AudioSendStream()
84 } else if (extension.name == RtpExtension::kTransportSequenceNumber) { in AudioSendStream()
/external/webrtc/webrtc/video/
Dvideo_receive_stream.cc29 static bool UseSendSideBwe(const std::vector<RtpExtension>& extensions) { in UseSendSideBwe()
31 if (extension.name == RtpExtension::kTransportSequenceNumber) in UseSendSideBwe()
210 if (extension == RtpExtension::kTOffset) { in VideoReceiveStream()
212 } else if (extension == RtpExtension::kAbsSendTime) { in VideoReceiveStream()
214 } else if (extension == RtpExtension::kVideoRotation) { in VideoReceiveStream()
216 } else if (extension == RtpExtension::kTransportSequenceNumber) { in VideoReceiveStream()
Dreplay.cc228 RtpExtension(RtpExtension::kTOffset, flags::TransmissionOffsetId())); in RtpReplay()
232 RtpExtension(RtpExtension::kAbsSendTime, flags::AbsSendTimeId())); in RtpReplay()
Dvideo_send_stream.cc137 for (const RtpExtension& extension : config.rtp.extensions) { in VideoSendStream()
138 if (extension.name == RtpExtension::kTransportSequenceNumber) { in VideoSendStream()
179 if (extension == RtpExtension::kTOffset) { in VideoSendStream()
181 } else if (extension == RtpExtension::kAbsSendTime) { in VideoSendStream()
183 } else if (extension == RtpExtension::kVideoRotation) { in VideoSendStream()
185 } else if (extension == RtpExtension::kTransportSequenceNumber) { in VideoSendStream()
Dvideo_send_stream_tests.cc155 send_config->rtp.extensions.push_back(RtpExtension( in TEST_F()
156 RtpExtension::kAbsSendTime, test::kAbsSendTimeExtensionId)); in TEST_F()
199 RtpExtension(RtpExtension::kTOffset, test::kTOffsetExtensionId)); in TEST_F()
243 RtpExtension(RtpExtension::kTransportSequenceNumber, kExtensionId)); in TEST_F()
403 send_config->rtp.extensions.push_back(RtpExtension( in ModifyVideoConfigs()
404 RtpExtension::kAbsSendTime, test::kAbsSendTimeExtensionId)); in ModifyVideoConfigs()
406 RtpExtension(RtpExtension::kTransportSequenceNumber, in ModifyVideoConfigs()
/external/webrtc/webrtc/test/
Dcall_test.cc191 RtpExtension(RtpExtension::kAbsSendTime, kAbsSendTimeExtensionId)); in CreateSendConfig()
195 video_send_config_.rtp.extensions.push_back(RtpExtension( in CreateSendConfig()
196 RtpExtension::kVideoRotation, kVideoRotationRtpExtensionId)); in CreateSendConfig()
214 for (const RtpExtension& extension : video_send_config_.rtp.extensions) in CreateMatchingReceiveConfigs()

12