Home
last modified time | relevance | path

Searched refs:SessionDescription (Results 1 – 25 of 41) sorted by relevance

12

/external/webrtc/pc/
Dmedia_session.h172 std::unique_ptr<SessionDescription> CreateOffer(
174 const SessionDescription* current_description) const;
175 std::unique_ptr<SessionDescription> CreateAnswer(
176 const SessionDescription* offer,
178 const SessionDescription* current_description) const;
203 const SessionDescription& remote_offer,
214 const SessionDescription* current_desc,
215 SessionDescription* offer,
220 const SessionDescription* offer_desc,
222 const SessionDescription* current_desc,
[all …]
Dsession_description.cc90 SessionDescription::SessionDescription() = default;
91 SessionDescription::SessionDescription(const SessionDescription&) = default;
93 SessionDescription::~SessionDescription() {} in ~SessionDescription()
95 std::unique_ptr<SessionDescription> SessionDescription::Clone() const { in Clone()
98 return absl::WrapUnique(new SessionDescription(*this)); in Clone()
101 const ContentInfo* SessionDescription::GetContentByName( in GetContentByName()
106 ContentInfo* SessionDescription::GetContentByName(const std::string& name) { in GetContentByName()
110 const MediaContentDescription* SessionDescription::GetContentDescriptionByName( in GetContentDescriptionByName()
120 MediaContentDescription* SessionDescription::GetContentDescriptionByName( in GetContentDescriptionByName()
130 const ContentInfo* SessionDescription::FirstContentByType( in FirstContentByType()
[all …]
Dmedia_session_unittest.cc73 using cricket::SessionDescription;
506 std::unique_ptr<SessionDescription> current_desc; in TestTransportInfo()
507 std::unique_ptr<SessionDescription> desc; in TestTransportInfo()
509 current_desc = std::make_unique<SessionDescription>(); in TestTransportInfo()
522 std::unique_ptr<SessionDescription> offer; in TestTransportInfo()
608 std::unique_ptr<SessionDescription> ref_desc; in TestCryptoWithBundle()
609 std::unique_ptr<SessionDescription> desc; in TestCryptoWithBundle()
657 std::unique_ptr<SessionDescription> offer = in TestMediaDirectionInAnswer()
667 std::unique_ptr<SessionDescription> answer = in TestMediaDirectionInAnswer()
702 std::unique_ptr<SessionDescription> offer = in TestVideoGcmCipher()
[all …]
Djsep_transport_controller.h121 const cricket::SessionDescription* description);
124 const cricket::SessionDescription* description);
230 const cricket::SessionDescription* description);
234 const cricket::SessionDescription* description);
238 const cricket::SessionDescription* description);
264 const cricket::SessionDescription* description);
267 const cricket::SessionDescription* description);
296 const cricket::SessionDescription& description);
382 const cricket::SessionDescription* local_desc_ = nullptr;
383 const cricket::SessionDescription* remote_desc_ = nullptr;
Dmedia_session.cc472 SessionDescription* sdesc) { in UpdateTransportInfoForBundle()
506 static bool GetCryptosByName(const SessionDescription* sdesc, in GetCryptosByName()
542 static bool IsRtpContent(SessionDescription* sdesc, in IsRtpContent()
557 SessionDescription* sdesc) { in UpdateCryptoParamsForBundle()
618 const SessionDescription& description, in GetActiveContents()
1316 const SessionDescription* current_description) { in GetTransportDescription()
1330 const SessionDescription* current_description) { in IsDtlsActive()
1484 std::unique_ptr<SessionDescription> MediaSessionDescriptionFactory::CreateOffer( in CreateOffer()
1486 const SessionDescription* current_description) const { in CreateOffer()
1520 auto offer = std::make_unique<SessionDescription>(); in CreateOffer()
[all …]
Dsdp_utils.h42 const cricket::SessionDescription* desc);
47 const cricket::SessionDescription* desc);
57 cricket::SessionDescription* desc);
Djsep_transport_controller_unittest.cc104 std::unique_ptr<cricket::SessionDescription>
106 auto description = std::make_unique<cricket::SessionDescription>(); in CreateSessionDescriptionWithoutBundle()
116 std::unique_ptr<cricket::SessionDescription>
127 std::unique_ptr<cricket::SessionDescription>
142 void AddAudioSection(cricket::SessionDescription* description, in AddAudioSection()
158 void AddVideoSection(cricket::SessionDescription* description, in AddVideoSection()
174 void AddDataSection(cricket::SessionDescription* description, in AddDataSection()
191 void AddTransportInfo(cricket::SessionDescription* description, in AddTransportInfo()
537 auto description = std::make_unique<cricket::SessionDescription>(); in TEST_F()
593 auto offer_desc = std::make_unique<cricket::SessionDescription>(); in TEST_F()
[all …]
Dsdp_utils.cc43 const cricket::SessionDescription* desc) { in SdpContentsAll()
55 const cricket::SessionDescription* desc) { in SdpContentsNone()
65 cricket::SessionDescription* desc) { in SdpContentsForEach()
Dsession_description_unittest.cc60 SessionDescription session_desc; in TEST()
68 SessionDescription session_desc; in TEST()
108 SessionDescription session_desc; in TEST()
Dsession_description.h444 friend class SessionDescription;
496 class SessionDescription {
498 SessionDescription();
499 ~SessionDescription();
501 std::unique_ptr<SessionDescription> Clone() const;
591 SessionDescription(const SessionDescription&);
Djsep_session_description.cc20 using cricket::SessionDescription;
167 std::unique_ptr<cricket::SessionDescription> description) { in CreateSessionDescription()
191 std::unique_ptr<cricket::SessionDescription> description, in JsepSessionDescription()
205 std::unique_ptr<cricket::SessionDescription> description, in Initialize()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DAppRTCClient.java15 import org.webrtc.SessionDescription;
53 void sendOfferSdp(final SessionDescription sdp); in sendOfferSdp()
58 void sendAnswerSdp(final SessionDescription sdp); in sendAnswerSdp()
84 public final SessionDescription offerSdp;
88 String clientId, String wssUrl, String wssPostUrl, SessionDescription offerSdp, in SignalingParameters()
115 void onRemoteDescription(final SessionDescription sdp); in onRemoteDescription()
DWebSocketRTCClient.java26 import org.webrtc.SessionDescription;
187 public void sendOfferSdp(final SessionDescription sdp) { in sendOfferSdp()
201 SessionDescription sdpAnswer = new SessionDescription( in sendOfferSdp()
202 SessionDescription.Type.fromCanonicalForm("answer"), sdp.description); in sendOfferSdp()
211 public void sendAnswerSdp(final SessionDescription sdp) { in sendAnswerSdp()
315 SessionDescription sdp = new SessionDescription( in onWebSocketMessage()
316 SessionDescription.Type.fromCanonicalForm(type), json.getString("sdp")); in onWebSocketMessage()
323 SessionDescription sdp = new SessionDescription( in onWebSocketMessage()
324 SessionDescription.Type.fromCanonicalForm(type), json.getString("sdp")); in onWebSocketMessage()
DDirectRTCClient.java24 import org.webrtc.SessionDescription;
150 public void sendOfferSdp(final SessionDescription sdp) { in sendOfferSdp()
167 public void sendAnswerSdp(final SessionDescription sdp) { in sendAnswerSdp()
262 SessionDescription sdp = new SessionDescription( in onTCPMessage()
263 SessionDescription.Type.fromCanonicalForm(type), json.getString("sdp")); in onTCPMessage()
266 SessionDescription sdp = new SessionDescription( in onTCPMessage()
267 SessionDescription.Type.fromCanonicalForm(type), json.getString("sdp")); in onTCPMessage()
DRoomParametersFetcher.java29 import org.webrtc.SessionDescription;
87 SessionDescription offerSdp = null; in roomHttpResponseParse()
112 offerSdp = new SessionDescription( in roomHttpResponseParse()
113 SessionDescription.Type.fromCanonicalForm(messageType), message.getString("sdp")); in roomHttpResponseParse()
DPeerConnectionClient.java61 import org.webrtc.SessionDescription;
156 private SessionDescription localSdp; // either offer or answer SDP
269 void onLocalDescription(final SessionDescription sdp); in onLocalDescription()
846 public void setRemoteDescription(final SessionDescription sdp) { in setRemoteDescription()
864 SessionDescription sdpRemote = new SessionDescription(sdp.type, sdpDescription); in setRemoteDescription()
1304 public void onCreateSuccess(final SessionDescription origSdp) { in onCreateSuccess()
1317 final SessionDescription sdp = new SessionDescription(origSdp.type, sdpDescription); in onCreateSuccess()
/external/webrtc/examples/androidjunit/src/org/appspot/apprtc/
DDirectRTCClientTest.java30 import org.webrtc.SessionDescription;
128 SessionDescription offerSdp = new SessionDescription(SessionDescription.Type.OFFER, DUMMY_SDP); in testDirectRTCClient()
133 SessionDescription answerSdp = in testDirectRTCClient()
134 new SessionDescription(SessionDescription.Type.ANSWER, DUMMY_SDP); in testDirectRTCClient()
137 .onRemoteDescription(isNotNull(SessionDescription.class)); in testDirectRTCClient()
/external/webrtc/api/
Djsep_session_description.h29 class SessionDescription; variable
42 std::unique_ptr<cricket::SessionDescription> description,
48 bool Initialize(std::unique_ptr<cricket::SessionDescription> description,
52 virtual cricket::SessionDescription* description() { in description()
55 virtual const cricket::SessionDescription* description() const { in description()
75 std::unique_ptr<cricket::SessionDescription> description_;
Djsep.h37 class SessionDescription; variable
140 virtual cricket::SessionDescription* description() = 0;
141 virtual const cricket::SessionDescription* description() const = 0;
212 std::unique_ptr<cricket::SessionDescription> description);
/external/webrtc/examples/androidtests/src/org/appspot/apprtc/test/
DPeerConnectionClientTest.java42 import org.webrtc.SessionDescription;
80 private SessionDescription localSdp;
136 public void onLocalDescription(SessionDescription sdp) { in onLocalDescription()
402 SessionDescription remoteSdp = new SessionDescription( in doLoopbackTest()
403 SessionDescription.Type.fromCanonicalForm("answer"), localSdp.description); in doLoopbackTest()
525 SessionDescription remoteSdp = new SessionDescription( in testCameraSwitch()
526 SessionDescription.Type.fromCanonicalForm("answer"), localSdp.description); in testCameraSwitch()
573 SessionDescription remoteSdp = new SessionDescription( in testVideoSourceRestart()
574 SessionDescription.Type.fromCanonicalForm("answer"), localSdp.description); in testVideoSourceRestart()
622 SessionDescription remoteSdp = new SessionDescription( in testCaptureFormatChange()
[all …]
/external/webrtc/sdk/android/api/org/webrtc/
DSessionDescription.java20 public class SessionDescription { class
41 public SessionDescription(Type type, String description) { in SessionDescription() method in SessionDescription
DPeerConnection.java837 public SessionDescription getLocalDescription() { in getLocalDescription()
841 public SessionDescription getRemoteDescription() { in getRemoteDescription()
861 public void setLocalDescription(SdpObserver observer, SessionDescription sdp) { in setLocalDescription()
865 public void setRemoteDescription(SdpObserver observer, SessionDescription sdp) { in setRemoteDescription()
1237 private native SessionDescription nativeGetLocalDescription(); in nativeGetLocalDescription()
1238 private native SessionDescription nativeGetRemoteDescription(); in nativeGetRemoteDescription()
1243 private native void nativeSetLocalDescription(SdpObserver observer, SessionDescription sdp); in nativeSetLocalDescription()
1244 private native void nativeSetRemoteDescription(SdpObserver observer, SessionDescription sdp); in nativeSetRemoteDescription()
DSdpObserver.java16 @CalledByNative void onCreateSuccess(SessionDescription sdp); in onCreateSuccess()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DPeerConnectionEndToEndTest.java586 private @Nullable SessionDescription sdp;
593 public void onCreateSuccess(SessionDescription sdp) { in onCreateSuccess()
628 public @Nullable SessionDescription getSdp() { in getSdp()
718 SessionDescription offerSdp = sdpLatch.getSdp(); in testCompleteSession()
719 assertEquals(offerSdp.type, SessionDescription.Type.OFFER); in testCompleteSession()
741 SessionDescription answerSdp = sdpLatch.getSdp(); in testCompleteSession()
742 assertEquals(answerSdp.type, SessionDescription.Type.ANSWER); in testCompleteSession()
965 SessionDescription offerSdp = sdpLatch.getSdp(); in testDataChannelOnlySession()
966 assertEquals(offerSdp.type, SessionDescription.Type.OFFER); in testDataChannelOnlySession()
982 SessionDescription answerSdp = sdpLatch.getSdp(); in testDataChannelOnlySession()
[all …]
/external/webrtc/test/pc/e2e/sdp/
Dsdp_changer.h140 std::unique_ptr<cricket::SessionDescription> RestoreMediaSectionsOrder(
141 std::unique_ptr<cricket::SessionDescription> source);

12