Home | History | Annotate | Download | only in webrtc

Lines Matching defs:sdp

435   void VerifyCryptoParams(const cricket::SessionDescription* sdp) {
437 const cricket::ContentInfo* content = cricket::GetFirstAudioContent(sdp);
450 content = cricket::GetFirstVideoContent(sdp);
464 void VerifyNoCryptoParams(const cricket::SessionDescription* sdp, bool dtls) {
465 const cricket::ContentInfo* content = cricket::GetFirstAudioContent(sdp);
473 content = cricket::GetFirstVideoContent(sdp);
504 void VerifyFingerprintStatus(const cricket::SessionDescription* sdp,
506 const TransportInfo* audio = sdp->GetTransportInfoByName("audio");
509 const TransportInfo* video = sdp->GetTransportInfoByName("video");
515 // Create an SDP without Crypto.
595 std::string *sdp) {
597 EXPECT_TRUE(current_desc->ToString(sdp));
611 sdp);
614 sdp);
621 std::string* sdp) {
623 EXPECT_TRUE(current_desc->ToString(sdp));
640 sdp);
643 sdp);
721 // Create a SDP without Crypto.
807 // Stringify the input SDP, swap the 5000 for 'new_port' and create a new
882 std::string sdp;
883 EXPECT_TRUE(answer->ToString(&sdp));
895 &sdp);
899 JsepSessionDescription::kAnswer, sdp, NULL);
960 std::string sdp;
961 offer->ToString(&sdp);
963 webrtc::CreateSessionDescription(JsepSessionDescription::kAnswer, sdp);
1362 // Tests for creating/setting SDP under different SDES/DTLS polices:
1931 // present in SDP.
1932 std::string sdp;
1933 EXPECT_TRUE(offer->ToString(&sdp));
1943 &sdp);
1948 &sdp);
1951 CreateSessionDescription(JsepSessionDescription::kOffer, sdp, NULL);
2374 // no a=ice-ufrag and a=ice-pwd lines are present in the SDP.
2380 std::string sdp;
2381 RemoveIceUfragPwdLines(offer.get(), &sdp);
2383 CreateSessionDescription(JsepSessionDescription::kOffer, sdp, NULL);
2388 // no a=ice-ufrag and a=ice-pwd lines are present in the SDP.
2392 std::string sdp;
2393 RemoveIceUfragPwdLines(offer.get(), &sdp);
2395 CreateSessionDescription(JsepSessionDescription::kOffer, sdp, NULL);
2407 std::string sdp;
2410 ModifyIceUfragPwdLines(offer.get(), "ice", "icepwd", &sdp);
2412 sdp, NULL);
2417 sdp.clear();
2419 &sdp);
2420 modified_offer = CreateSessionDescription(JsepSessionDescription::kOffer, sdp,
2431 std::string sdp;
2434 ModifyIceUfragPwdLines(offer.get(), "ice", "icepwd", &sdp);
2436 CreateSessionDescription(JsepSessionDescription::kOffer, sdp, NULL);
2440 sdp.clear();
2442 &sdp);
2443 modified_offer = CreateSessionDescription(JsepSessionDescription::kOffer, sdp,
2535 // Trying unmodified SDP.
2718 std::string sdp;
2719 EXPECT_TRUE(answer->ToString(&sdp));
2723 &sdp);
2725 CreateSessionDescription(JsepSessionDescription::kAnswer, sdp, NULL);
2754 std::string sdp;
2755 EXPECT_TRUE(answer->ToString(&sdp));
2759 &sdp);
2761 CreateSessionDescription(JsepSessionDescription::kAnswer, sdp, NULL);
2833 std::string sdp;
2834 EXPECT_TRUE(answer->ToString(&sdp));
2840 &sdp);
2842 CreateSessionDescription(JsepSessionDescription::kAnswer, sdp, NULL);
2846 EXPECT_TRUE(answer->ToString(&sdp));
2852 &sdp);
2854 CreateSessionDescription(JsepSessionDescription::kAnswer, sdp, NULL);
2921 // SessionDescription object after de-serialization of sdp string. The value
2940 // SessionDescription object after de-serialization of sdp string. The value
3178 // TEST PLAN: Set the port number to something new, set it in the SDP,
3311 cricket::SessionDescription* sdp = offer->description();
3312 TransportInfo* audio = sdp->GetTransportInfoByName("audio");
3398 // new remote SDP.
3428 // from the remote SDP.