Home
last modified time | relevance | path

Searched refs:sdp (Results 1 – 25 of 61) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebRTCSessionDescription.cpp43 …ic PassRefPtr<WebRTCSessionDescriptionPrivate> create(const WebString& type, const WebString& sdp);
48 WebString sdp() { return m_sdp; } in sdp() function in blink::FINAL
49 void setSdp(const WebString& sdp) { m_sdp = sdp; } in setSdp() argument
52 WebRTCSessionDescriptionPrivate(const WebString& type, const WebString& sdp);
58 …iptionPrivate> WebRTCSessionDescriptionPrivate::create(const WebString& type, const WebString& sdp) in create() argument
60 return adoptRef(new WebRTCSessionDescriptionPrivate(type, sdp)); in create()
63 …ionDescriptionPrivate::WebRTCSessionDescriptionPrivate(const WebString& type, const WebString& sdp) in WebRTCSessionDescriptionPrivate() argument
65 , m_sdp(sdp) in WebRTCSessionDescriptionPrivate()
79 void WebRTCSessionDescription::initialize(const WebString& type, const WebString& sdp) in initialize() argument
81 m_private = WebRTCSessionDescriptionPrivate::create(type, sdp); in initialize()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dpeerconnectionendtoend_unittest.cc56 std::string* sdp) { in RemoveLinesFromSdp() argument
59 while ((ssrc_pos = sdp->find(line_start, ssrc_pos)) != in RemoveLinesFromSdp()
61 size_t end_ssrc = sdp->find(kSdpLineEnd, ssrc_pos); in RemoveLinesFromSdp()
62 sdp->erase(ssrc_pos, end_ssrc - ssrc_pos + strlen(kSdpLineEnd)); in RemoveLinesFromSdp()
82 void UseExternalSdes(std::string* sdp) { in UseExternalSdes() argument
84 RemoveLinesFromSdp("a=crypto", sdp); in UseExternalSdes()
85 RemoveLinesFromSdp("a=fingerprint", sdp); in UseExternalSdes()
96 InjectAfter("a=mid:audio\r\n", kAudioSdes, sdp); in UseExternalSdes()
97 InjectAfter("a=mid:video\r\n", kVideoSdes, sdp); in UseExternalSdes()
98 InjectAfter("a=mid:data\r\n", kDataSdes, sdp); in UseExternalSdes()
[all …]
Djsepicecandidate.cc39 const std::string& sdp) { in CreateIceCandidate()
40 return CreateIceCandidate(sdp_mid, sdp_mline_index, sdp, NULL); in CreateIceCandidate()
45 const std::string& sdp, in CreateIceCandidate()
48 if (!jsep_ice->Initialize(sdp, error)) { in CreateIceCandidate()
72 bool JsepIceCandidate::Initialize(const std::string& sdp, SdpParseError* err) { in Initialize() argument
73 return SdpDeserializeCandidate(sdp, this, err); in Initialize()
Dpeerconnectioninterface_unittest.cc109 void SetSsrcToZero(std::string* sdp) { in SetSsrcToZero() argument
113 while ((ssrc_pos = sdp->find(kSdpSsrcAtribute, ssrc_pos)) != in SetSsrcToZero()
115 size_t end_ssrc = sdp->find(" ", ssrc_pos); in SetSsrcToZero()
116 sdp->replace(ssrc_pos, end_ssrc - ssrc_pos, kSdpSsrcAtributeZero); in SetSsrcToZero()
186 std::string sdp; in OnIceCandidate() local
187 EXPECT_TRUE(candidate->ToString(&sdp)); in OnIceCandidate()
188 EXPECT_LT(0u, sdp.size()); in OnIceCandidate()
190 candidate->sdp_mline_index(), sdp, NULL)); in OnIceCandidate()
443 std::string sdp; in CreateOfferAsRemoteDescription() local
444 EXPECT_TRUE(offer->ToString(&sdp)); in CreateOfferAsRemoteDescription()
[all …]
Djsepsessiondescription_unittest.cc125 std::string sdp; in Serialize() local
126 EXPECT_TRUE(desc->ToString(&sdp)); in Serialize()
127 EXPECT_FALSE(sdp.empty()); in Serialize()
128 return sdp; in Serialize()
131 SessionDescriptionInterface* DeSerialize(const std::string& sdp) { in DeSerialize() argument
133 EXPECT_TRUE(desc->Initialize(sdp, NULL)); in DeSerialize()
231 std::string sdp = Serialize(jsep_desc_.get()); in TEST_F() local
233 scoped_ptr<SessionDescriptionInterface> parsed_jsep_desc(DeSerialize(sdp)); in TEST_F()
237 EXPECT_EQ(sdp, parsed_sdp); in TEST_F()
243 std::string sdp = Serialize(jsep_desc_.get()); in TEST_F() local
[all …]
Djsepsessiondescription.cc76 const std::string& sdp) { in CreateSessionDescription() argument
77 return CreateSessionDescription(type, sdp, NULL); in CreateSessionDescription()
81 const std::string& sdp, in CreateSessionDescription() argument
88 if (!jsep_desc->Initialize(sdp, error)) { in CreateSessionDescription()
115 bool JsepSessionDescription::Initialize(const std::string& sdp, in Initialize() argument
117 return SdpDeserialize(sdp, this, error); in Initialize()
Djsep.h77 const std::string& sdp);
82 const std::string& sdp,
133 const std::string& sdp);
137 const std::string& sdp,
Dwebrtcsession_unittest.cc435 void VerifyCryptoParams(const cricket::SessionDescription* sdp) { in VerifyCryptoParams() argument
437 const cricket::ContentInfo* content = cricket::GetFirstAudioContent(sdp); in VerifyCryptoParams()
450 content = cricket::GetFirstVideoContent(sdp); in VerifyCryptoParams()
464 void VerifyNoCryptoParams(const cricket::SessionDescription* sdp, bool dtls) { in VerifyNoCryptoParams() argument
465 const cricket::ContentInfo* content = cricket::GetFirstAudioContent(sdp); in VerifyNoCryptoParams()
473 content = cricket::GetFirstVideoContent(sdp); in VerifyNoCryptoParams()
504 void VerifyFingerprintStatus(const cricket::SessionDescription* sdp, in VerifyFingerprintStatus() argument
506 const TransportInfo* audio = sdp->GetTransportInfoByName("audio"); in VerifyFingerprintStatus()
509 const TransportInfo* video = sdp->GetTransportInfoByName("video"); in VerifyFingerprintStatus()
595 std::string *sdp) { in RemoveIceUfragPwdLines() argument
[all …]
Dwebrtcsdp_unittest.cc924 bool RemoveCandidateUfragPwd(std::string* sdp) { in RemoveCandidateUfragPwd() argument
930 ice_ufragx, strlen(ice_ufragx), sdp); in RemoveCandidateUfragPwd()
932 ice_pwdx, strlen(ice_pwdx), sdp); in RemoveCandidateUfragPwd()
1188 std::string sdp = in TestDeserializeCodecParams() local
1215 sdp += os.str(); in TestDeserializeCodecParams()
1224 sdp += os.str(); in TestDeserializeCodecParams()
1228 EXPECT_TRUE(webrtc::SdpDeserialize(sdp, jdesc_output, &error)); in TestDeserializeCodecParams()
1273 std::string sdp = in TestDeserializeRtcpFb() local
1293 sdp += os.str(); in TestDeserializeRtcpFb()
1296 EXPECT_TRUE(webrtc::SdpDeserialize(sdp, jdesc_output, &error)); in TestDeserializeRtcpFb()
[all …]
Dpeerconnection_unittest.cc105 std::string* sdp) { in RemoveLinesFromSdp() argument
108 while ((ssrc_pos = sdp->find(line_start, ssrc_pos)) != in RemoveLinesFromSdp()
110 size_t end_ssrc = sdp->find(kSdpLineEnd, ssrc_pos); in RemoveLinesFromSdp()
111 sdp->erase(ssrc_pos, end_ssrc - ssrc_pos + strlen(kSdpLineEnd)); in RemoveLinesFromSdp()
619 std::string sdp; in Negotiate() local
620 EXPECT_TRUE(offer->ToString(&sdp)); in Negotiate()
623 webrtc::SessionDescriptionInterface::kOffer, sdp); in Negotiate()
769 std::string sdp; in HandleIncomingOffer() local
770 EXPECT_TRUE(answer->ToString(&sdp)); in HandleIncomingOffer()
774 webrtc::SessionDescriptionInterface::kAnswer, sdp); in HandleIncomingOffer()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/
Dpeerconnectiontestwrapper.cc123 std::string sdp; in OnIceCandidate() local
124 EXPECT_TRUE(candidate->ToString(&sdp)); in OnIceCandidate()
126 SignalOnIceCandidateCreated(&sdp); in OnIceCandidate()
128 sdp); in OnIceCandidate()
139 std::string sdp; in OnSuccess() local
140 EXPECT_TRUE(desc->ToString(&sdp)); in OnSuccess()
143 << ": " << desc->type() << " sdp created: " << sdp; in OnSuccess()
146 SignalOnSdpCreated(&sdp); in OnSuccess()
148 SetLocalDescription(desc->type(), sdp); in OnSuccess()
150 SignalOnSdpReady(sdp); in OnSuccess()
[all …]
Dpeerconnectiontestwrapper.h82 void ReceiveOfferSdp(const std::string& sdp);
83 void ReceiveAnswerSdp(const std::string& sdp);
104 void SetLocalDescription(const std::string& type, const std::string& sdp);
105 void SetRemoteDescription(const std::string& type, const std::string& sdp);
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/
DRTCSessionDescription.cpp59 String sdp; in create() local
60 DictionaryHelper::get(descriptionInitDict, "sdp", sdp); in create()
62 return new RTCSessionDescription(WebRTCSessionDescription(type, sdp)); in create()
88 String RTCSessionDescription::sdp() in sdp() function in blink::RTCSessionDescription
90 return m_webSessionDescription.sdp(); in sdp()
93 void RTCSessionDescription::setSdp(const String& sdp) in setSdp() argument
95 m_webSessionDescription.setSDP(sdp); in setSdp()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/src/org/webrtc/
DIceCandidate.java37 public final String sdp; field in IceCandidate
39 public IceCandidate(String sdpMid, int sdpMLineIndex, String sdp) { in IceCandidate() argument
42 this.sdp = sdp; in IceCandidate()
46 return sdpMid + ":" + sdpMLineIndex + ":" + sdp; in toString()
DPeerConnection.java137 SdpObserver observer, SessionDescription sdp); in setLocalDescription() argument
140 SdpObserver observer, SessionDescription sdp); in setRemoteDescription() argument
147 candidate.sdpMid, candidate.sdpMLineIndex, candidate.sdp); in addIceCandidate()
/external/chromium_org/third_party/webrtc/tools/loopback_test/
Dloopback_test.js61 desc.sdp = desc.sdp.replace(/(m=video 1 [^\r]+)(116 117)(\r\n)/g,
63 desc.sdp = desc.sdp.replace(/a=rtpmap:116 red\/90000\r\n/g, '');
64 desc.sdp = desc.sdp.replace(/a=rtpmap:117 ulpfec\/90000\r\n/g, '');
78 desc.sdp = desc.sdp.replace(
178 trace("Offer: " + desc.sdp);
188 trace("Answer: " + desc.sdp);
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/objc/
DRTCICECandidate.mm38 @synthesize sdp = _sdp;
42 sdp:(NSString*)sdp {
43 if (!sdpMid || !sdp) {
50 _sdp = [sdp copy];
59 self.sdp];
68 std::string sdp;
69 if (candidate->ToString(&sdp)) {
72 _sdp = @(sdp.c_str());
83 [self.sdpMid UTF8String], self.sdpMLineIndex, [self.sdp UTF8String]);
DRTCSessionDescription.mm39 - (id)initWithType:(NSString*)type sdp:(NSString*)sdp {
40 if (!type || !sdp) {
45 _description = sdp;
64 std::string sdp;
65 if (!sessionDescription->ToString(&sdp)) {
69 _description = @(sdp.c_str());
/external/chromium_org/third_party/WebKit/public/platform/
DWebRTCSessionDescription.h69 BLINK_PLATFORM_EXPORT void initialize(const WebString& type, const WebString& sdp);
75 BLINK_PLATFORM_EXPORT WebString sdp() const;
79 WebRTCSessionDescription(WebString type, WebString sdp) in WebRTCSessionDescription() argument
81 this->initialize(type, sdp); in WebRTCSessionDescription()
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/
Dconductor.cc168 std::string sdp; in OnIceCandidate() local
169 if (!candidate->ToString(&sdp)) { in OnIceCandidate()
173 jmessage[kCandidateSdpName] = sdp; in OnIceCandidate()
245 std::string sdp; in OnMessageFromPeer() local
246 if (!GetStringFromJsonObject(jmessage, kSessionDescriptionSdpName, &sdp)) { in OnMessageFromPeer()
251 webrtc::CreateSessionDescription(type, sdp)); in OnMessageFromPeer()
267 std::string sdp; in OnMessageFromPeer() local
271 !GetStringFromJsonObject(jmessage, kCandidateSdpName, &sdp)) { in OnMessageFromPeer()
276 webrtc::CreateIceCandidate(sdp_mid, sdp_mlineindex, sdp)); in OnMessageFromPeer()
482 std::string sdp; in OnSuccess() local
[all …]
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/objc/public/
DRTCICECandidate.h43 @property(nonatomic, copy, readonly) NSString* sdp;
48 sdp:(NSString*)sdp;
DRTCSessionDescription.h41 - (id)initWithType:(NSString *)type sdp:(NSString *)sdp;
/external/bluetooth/bluedroid/stack/
DAndroid.mk17 $(LOCAL_PATH)/sdp \
122 ./sdp/sdp_server.c \
123 ./sdp/sdp_main.c \
124 ./sdp/sdp_db.c \
125 ./sdp/sdp_utils.c \
126 ./sdp/sdp_api.c \
127 ./sdp/sdp_discovery.c \
/external/chromium_org/third_party/libjingle/source/talk/examples/objc/AppRTCDemo/
DAPPRTCConnectionManager.m205 NSString* sdp = messageData[@"candidate"];
209 sdp:sdp];
217 NSString* sdpString = messageData[@"sdp"];
218 RTCSessionDescription* sdp = [[RTCSessionDescription alloc]
220 sdp:[[self class] preferISAC:sdpString]];
222 sessionDescription:sdp];
299 candidate.sdp);
304 @"candidate" : candidate.sdp
352 RTCSessionDescription* sdp = [[RTCSessionDescription alloc]
354 sdp:[[self class] preferISAC:origSdp.description]];
[all …]
/external/chromium_org/content/renderer/media/webrtc/
Dmock_peer_connection_dependency_factory.cc351 const std::string& sdp) in MockSessionDescription() argument
353 sdp_(sdp) { in MockSessionDescription()
403 const std::string& sdp) in MockIceCandidate()
406 sdp_(sdp) { in MockIceCandidate()
508 const std::string& sdp, in CreateSessionDescription() argument
510 return new MockSessionDescription(type, sdp); in CreateSessionDescription()
517 const std::string& sdp) { in CreateIceCandidate() argument
518 return new MockIceCandidate(sdp_mid, sdp_mline_index, sdp); in CreateIceCandidate()

123