Home
last modified time | relevance | path

Searched refs:RtpHeaderExtension (Results 1 – 20 of 20) sorted by relevance

/external/webrtc/talk/media/webrtc/
Dwebrtcmediaengine_unittest.cc35 std::vector<RtpHeaderExtension> MakeUniqueExtensions() { in MakeUniqueExtensions()
36 std::vector<RtpHeaderExtension> result; in MakeUniqueExtensions()
39 result.push_back(RtpHeaderExtension(name, 1 + i)); in MakeUniqueExtensions()
41 result.push_back(RtpHeaderExtension(name, 14 - i)); in MakeUniqueExtensions()
47 std::vector<RtpHeaderExtension> MakeRedundantExtensions() { in MakeRedundantExtensions()
48 std::vector<RtpHeaderExtension> result; in MakeRedundantExtensions()
51 result.push_back(RtpHeaderExtension(name, 1 + i)); in MakeRedundantExtensions()
52 result.push_back(RtpHeaderExtension(name, 14 - i)); in MakeRedundantExtensions()
79 std::vector<RtpHeaderExtension> extensions; in TEST()
84 std::vector<RtpHeaderExtension> extensions = MakeUniqueExtensions(); in TEST()
[all …]
Dwebrtcmediaengine.h57 bool ValidateRtpExtensions(const std::vector<RtpHeaderExtension>& extensions);
64 const std::vector<RtpHeaderExtension>& extensions,
Dwebrtcmediaengine.cc96 bool ValidateRtpExtensions(const std::vector<RtpHeaderExtension>& extensions) { in ValidateRtpExtensions()
113 const std::vector<RtpHeaderExtension>& extensions, in FilterRtpExtensions()
Dwebrtcvideoengine2_unittest.cc227 for (const RtpHeaderExtension& extension : capabilities.header_extensions) { in TEST_F()
239 for (const RtpHeaderExtension& extension : capabilities.header_extensions) { in TEST_F()
258 for (const RtpHeaderExtension& extension : capabilities.header_extensions) { in TEST_F()
271 for (const RtpHeaderExtension& extension : capabilities.header_extensions) { in TEST_F()
297 cricket::RtpHeaderExtension(kRtpVideoRotationHeaderExtension, id)); in TEST_F()
330 cricket::RtpHeaderExtension(kRtpVideoRotationHeaderExtension, id)); in TEST_F()
970 cricket::RtpHeaderExtension(cricket_ext, id)); in TestSetSendRtpHeaderExtensions()
1008 cricket::RtpHeaderExtension(cricket_ext, id)); in TestSetRecvRtpHeaderExtensions()
1051 cricket::RtpHeaderExtension(extension, id++)); in TestExtensionFilter()
1248 send_parameters_.extensions.push_back(cricket::RtpHeaderExtension( in TEST_F()
[all …]
Dwebrtcvideoengine2.h204 const std::vector<RtpHeaderExtension>& extensions);
209 const std::vector<RtpHeaderExtension>& extensions);
Dwebrtcvideoengine2.cc506 RtpHeaderExtension(kRtpTimestampOffsetHeaderExtension, in GetCapabilities()
509 RtpHeaderExtension(kRtpAbsoluteSenderTimeHeaderExtension, in GetCapabilities()
512 RtpHeaderExtension(kRtpVideoRotationHeaderExtension, in GetCapabilities()
515 capabilities.header_extensions.push_back(RtpHeaderExtension( in GetCapabilities()
1385 const std::vector<RtpHeaderExtension>& extensions) { in SetRecvRtpHeaderExtensions()
1409 const std::vector<RtpHeaderExtension>& extensions) { in SetSendRtpHeaderExtensions()
Dwebrtcvoiceengine_unittest.cc208 send_parameters_.extensions.push_back(cricket::RtpHeaderExtension( in TestSetSendRtpHeaderExtensions()
220 send_parameters_.extensions.push_back(cricket::RtpHeaderExtension(ext, id)); in TestSetSendRtpHeaderExtensions()
250 recv_parameters_.extensions.push_back(cricket::RtpHeaderExtension( in TestSetRecvRtpHeaderExtensions()
262 recv_parameters_.extensions.push_back(cricket::RtpHeaderExtension(ext, id)); in TestSetRecvRtpHeaderExtensions()
Dwebrtcvoiceengine.cc928 capabilities.header_extensions.push_back(RtpHeaderExtension( in GetCapabilities()
931 RtpHeaderExtension(kRtpAbsoluteSenderTimeHeaderExtension, in GetCapabilities()
/external/webrtc/talk/session/media/
Dmediasession_unittest.cc86 using cricket::RtpHeaderExtension;
142 static const RtpHeaderExtension kAudioRtpExtension1[] = {
143 RtpHeaderExtension("urn:ietf:params:rtp-hdrext:ssrc-audio-level", 8),
144 RtpHeaderExtension("http://google.com/testing/audio_something", 10),
147 static const RtpHeaderExtension kAudioRtpExtension2[] = {
148 RtpHeaderExtension("urn:ietf:params:rtp-hdrext:ssrc-audio-level", 2),
149 RtpHeaderExtension("http://google.com/testing/audio_something_else", 8),
150 RtpHeaderExtension("http://google.com/testing/both_audio_and_video", 7),
153 static const RtpHeaderExtension kAudioRtpExtension3[] = {
154 RtpHeaderExtension("http://google.com/testing/audio_something", 2),
[all …]
Dmediasession.h55 typedef std::vector<RtpHeaderExtension> RtpHeaderExtensions;
222 void AddRtpHeaderExtension(const RtpHeaderExtension& ext) { in AddRtpHeaderExtension()
301 std::vector<RtpHeaderExtension> rtp_header_extensions_;
Dmediasession.cc442 class UsedRtpHeaderExtensionIds : public UsedIds<RtpHeaderExtension> {
445 : UsedIds<RtpHeaderExtension>(kLocalIdMin, kLocalIdMax) { in UsedRtpHeaderExtensionIds()
936 const RtpHeaderExtension& ext_to_match, in FindByUri()
937 RtpHeaderExtension* found_extension) { in FindByUri()
959 RtpHeaderExtension existing; in FindAndSetRtpHdrExtUsed()
978 RtpHeaderExtension existing; in FindRtpHdrExtsToOffer()
997 RtpHeaderExtension theirs; in NegotiateRtpHeaderExtensions()
Dchannel.h277 const std::vector<RtpHeaderExtension>& extensions);
Dchannel.cc1293 const std::vector<RtpHeaderExtension>& extensions) { in MaybeCacheRtpAbsSendTimeHeaderExtension()
1294 const RtpHeaderExtension* send_time_extension = in MaybeCacheRtpAbsSendTimeHeaderExtension()
/external/webrtc/webrtc/call/
Drtc_event_log.proto147 repeated RtpHeaderExtension header_extensions = 6;
165 message RtpHeaderExtension { message
201 repeated RtpHeaderExtension header_extensions = 2;
232 repeated RtpHeaderExtension header_extensions = 3;
241 repeated RtpHeaderExtension header_extensions = 2;
Drtc_event_log.cc284 rtclog::RtpHeaderExtension* extension =
313 rtclog::RtpHeaderExtension* extension =
/external/webrtc/talk/media/base/
Dfakemediaengine.h62 const std::vector<RtpHeaderExtension>& recv_extensions() { in recv_extensions()
65 const std::vector<RtpHeaderExtension>& send_extensions() { in send_extensions()
190 const std::vector<RtpHeaderExtension>& extensions) { in SetRecvRtpHeaderExtensions()
195 const std::vector<RtpHeaderExtension>& extensions) { in SetSendRtpHeaderExtensions()
216 std::vector<RtpHeaderExtension> recv_extensions_;
217 std::vector<RtpHeaderExtension> send_extensions_;
707 const std::vector<RtpHeaderExtension>& extensions) { in set_rtp_header_extensions()
857 const std::vector<RtpHeaderExtension>& extensions) { in SetAudioRtpHeaderExtensions()
861 const std::vector<RtpHeaderExtension>& extensions) { in SetVideoRtpHeaderExtensions()
Dmediachannel.h406 struct RtpHeaderExtension { struct
407 RtpHeaderExtension() : id(0) {} in RtpHeaderExtension() function
408 RtpHeaderExtension(const std::string& u, int i) : uri(u), id(i) {} in RtpHeaderExtension() function
410 bool operator==(const RtpHeaderExtension& ext) const {
433 inline const RtpHeaderExtension* FindHeaderExtension( in FindHeaderExtension() argument
434 const std::vector<RtpHeaderExtension>& extensions, in FindHeaderExtension()
436 for (std::vector<RtpHeaderExtension>::const_iterator it = extensions.begin(); in FindHeaderExtension()
952 std::vector<RtpHeaderExtension> extensions;
Dmediaengine.h61 std::vector<RtpHeaderExtension> header_extensions;
/external/webrtc/talk/app/webrtc/
Dwebrtcsdp.cc81 using cricket::RtpHeaderExtension;
90 typedef std::vector<RtpHeaderExtension> RtpHeaderExtensions;
329 RtpHeaderExtension* extmap,
1143 bool ParseExtmap(const std::string& line, RtpHeaderExtension* extmap, in ParseExtmap()
1167 *extmap = RtpHeaderExtension(uri, value); in ParseExtmap()
1951 RtpHeaderExtension extmap; in ParseSessionDescription()
2613 RtpHeaderExtension extmap; in ParseContent()
Dwebrtcsdp_unittest.cc62 using cricket::RtpHeaderExtension;
798 const RtpHeaderExtension ext1 = cd1->rtp_header_extensions().at(i); in CompareMediaContentDescription()
799 const RtpHeaderExtension ext2 = cd2->rtp_header_extensions().at(i); in CompareMediaContentDescription()
1042 RtpHeaderExtension(kExtmapUri, kExtmapId)); in AddExtmap()
1044 RtpHeaderExtension(kExtmapUri, kExtmapId)); in AddExtmap()