Lines Matching refs:answer
451 rtc::scoped_ptr<SessionDescription> answer( in TestMediaDirectionInAnswer() local
454 GetFirstAudioContentDescription(answer.get()); in TestMediaDirectionInAnswer()
457 GetFirstVideoContentDescription(answer.get()); in TestMediaDirectionInAnswer()
583 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
592 updated_opts, answer.get())); in TEST_F()
773 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
775 const ContentInfo* ac = answer->GetContentByName("audio"); in TEST_F()
776 const ContentInfo* vc = answer->GetContentByName("video"); in TEST_F()
799 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
801 const ContentInfo* ac = answer->GetContentByName("audio"); in TEST_F()
802 const ContentInfo* vc = answer->GetContentByName("video"); in TEST_F()
832 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
834 const ContentInfo* ac = answer->GetContentByName("audio"); in TEST_F()
835 const ContentInfo* vc = answer->GetContentByName("data"); in TEST_F()
881 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
883 ASSERT_TRUE(answer.get() != NULL); in TEST_F()
884 EXPECT_EQ(3u, answer->contents().size()); in TEST_F()
885 EXPECT_TRUE(IsMediaContentOfType(&answer->contents()[0], MEDIA_TYPE_DATA)); in TEST_F()
886 EXPECT_TRUE(IsMediaContentOfType(&answer->contents()[1], MEDIA_TYPE_AUDIO)); in TEST_F()
887 EXPECT_TRUE(IsMediaContentOfType(&answer->contents()[2], MEDIA_TYPE_VIDEO)); in TEST_F()
931 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
934 const ContentInfo* dc_answer = answer->GetContentByName("data"); in TEST_F()
957 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
960 const ContentInfo* ac_answer = answer->GetContentByName("audio"); in TEST_F()
965 GetFirstAudioContentDescription(answer.get()); in TEST_F()
983 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
994 answer.get())->rtp_header_extensions()); in TEST_F()
997 answer.get())->rtp_header_extensions()); in TEST_F()
1010 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
1012 const ContentInfo* ac = answer->GetContentByName("audio"); in TEST_F()
1013 const ContentInfo* vc = answer->GetContentByName("video"); in TEST_F()
1014 const ContentInfo* dc = answer->GetContentByName("data"); in TEST_F()
1076 rtc::scoped_ptr<SessionDescription> answer; in TEST_F() local
1082 answer.reset(f2_.CreateAnswer(offer.get(), answer_opts, NULL)); in TEST_F()
1086 ASSERT_TRUE(NULL != GetFirstAudioContentDescription(answer.get())); in TEST_F()
1087 ASSERT_TRUE(NULL != GetFirstVideoContentDescription(answer.get())); in TEST_F()
1088 ASSERT_TRUE(NULL != GetFirstDataContentDescription(answer.get())); in TEST_F()
1092 EXPECT_TRUE(GetFirstAudioContentDescription(answer.get())->rtcp_mux()); in TEST_F()
1093 EXPECT_TRUE(GetFirstVideoContentDescription(answer.get())->rtcp_mux()); in TEST_F()
1094 EXPECT_TRUE(GetFirstDataContentDescription(answer.get())->rtcp_mux()); in TEST_F()
1100 answer.reset(f2_.CreateAnswer(offer.get(), answer_opts, NULL)); in TEST_F()
1104 ASSERT_TRUE(NULL != GetFirstAudioContentDescription(answer.get())); in TEST_F()
1105 ASSERT_TRUE(NULL != GetFirstVideoContentDescription(answer.get())); in TEST_F()
1106 ASSERT_TRUE(NULL != GetFirstDataContentDescription(answer.get())); in TEST_F()
1110 EXPECT_FALSE(GetFirstAudioContentDescription(answer.get())->rtcp_mux()); in TEST_F()
1111 EXPECT_FALSE(GetFirstVideoContentDescription(answer.get())->rtcp_mux()); in TEST_F()
1112 EXPECT_FALSE(GetFirstDataContentDescription(answer.get())->rtcp_mux()); in TEST_F()
1118 answer.reset(f2_.CreateAnswer(offer.get(), answer_opts, NULL)); in TEST_F()
1122 ASSERT_TRUE(NULL != GetFirstAudioContentDescription(answer.get())); in TEST_F()
1123 ASSERT_TRUE(NULL != GetFirstVideoContentDescription(answer.get())); in TEST_F()
1124 ASSERT_TRUE(NULL != GetFirstDataContentDescription(answer.get())); in TEST_F()
1128 EXPECT_FALSE(GetFirstAudioContentDescription(answer.get())->rtcp_mux()); in TEST_F()
1129 EXPECT_FALSE(GetFirstVideoContentDescription(answer.get())->rtcp_mux()); in TEST_F()
1130 EXPECT_FALSE(GetFirstDataContentDescription(answer.get())->rtcp_mux()); in TEST_F()
1136 answer.reset(f2_.CreateAnswer(offer.get(), answer_opts, NULL)); in TEST_F()
1140 ASSERT_TRUE(NULL != GetFirstAudioContentDescription(answer.get())); in TEST_F()
1141 ASSERT_TRUE(NULL != GetFirstVideoContentDescription(answer.get())); in TEST_F()
1142 ASSERT_TRUE(NULL != GetFirstDataContentDescription(answer.get())); in TEST_F()
1146 EXPECT_FALSE(GetFirstAudioContentDescription(answer.get())->rtcp_mux()); in TEST_F()
1147 EXPECT_FALSE(GetFirstVideoContentDescription(answer.get())->rtcp_mux()); in TEST_F()
1148 EXPECT_FALSE(GetFirstDataContentDescription(answer.get())->rtcp_mux()); in TEST_F()
1158 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
1160 const ContentInfo* ac = answer->GetContentByName("audio"); in TEST_F()
1161 const ContentInfo* vc = answer->GetContentByName("video"); in TEST_F()
1175 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
1177 const ContentInfo* ac = answer->GetContentByName("audio"); in TEST_F()
1178 const ContentInfo* dc = answer->GetContentByName("data"); in TEST_F()
1203 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
1205 ac = answer->GetContentByName("audio"); in TEST_F()
1206 vc = answer->GetContentByName("video"); in TEST_F()
1207 dc = answer->GetContentByName("data"); in TEST_F()
1401 answer(f2_.CreateAnswer(offer.get(), opts, NULL)); in TEST_F() local
1403 ASSERT_TRUE(answer.get() != NULL); in TEST_F()
1404 const ContentInfo* ac = answer->GetContentByName("audio"); in TEST_F()
1405 const ContentInfo* vc = answer->GetContentByName("video"); in TEST_F()
1406 const ContentInfo* dc = answer->GetContentByName("data"); in TEST_F()
1469 updated_answer(f2_.CreateAnswer(offer.get(), opts, answer.get())); in TEST_F()
1525 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
1529 GetFirstAudioContentDescription(answer.get()); in TEST_F()
1533 GetFirstVideoContentDescription(answer.get()); in TEST_F()
1537 f2_.CreateOffer(opts, answer.get())); in TEST_F()
1587 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
1591 GetFirstVideoContentDescription(answer.get()); in TEST_F()
1605 f2_.CreateOffer(opts, answer.get())); in TEST_F()
1608 f1_.CreateAnswer(updated_offer.get(), opts, answer.get())); in TEST_F()
1632 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
1636 GetFirstAudioContentDescription(answer.get()); in TEST_F()
1652 f2_.CreateOffer(opts, answer.get())); in TEST_F()
1655 f1_.CreateAnswer(updated_offer.get(), opts, answer.get())); in TEST_F()
1658 GetFirstAudioContentDescription(answer.get()); in TEST_F()
1708 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
1712 GetCodecNames(GetFirstVideoContentDescription(answer.get())->codecs()); in TEST_F()
1737 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
1741 GetCodecNames(GetFirstVideoContentDescription(answer.get())->codecs()); in TEST_F()
1771 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
1774 GetFirstVideoContentDescription(answer.get()); in TEST_F()
1838 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
1843 answer.get())->rtp_header_extensions()); in TEST_F()
1846 answer.get())->rtp_header_extensions()); in TEST_F()
1849 f2_.CreateOffer(opts, answer.get())); in TEST_F()
2083 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
2085 ASSERT_TRUE(answer != NULL); in TEST_F()
2086 ContentInfo* answer_content = answer->GetContentByName("audio"); in TEST_F()
2109 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
2111 ASSERT_TRUE(answer != NULL); in TEST_F()
2113 const ContentInfo* answer_content = answer->GetContentByName("audio"); in TEST_F()
2133 rtc::scoped_ptr<SessionDescription> offer, answer; in TEST_F() local
2160 answer.reset(f2_.CreateAnswer(offer.get(), options, NULL)); in TEST_F()
2161 ASSERT_TRUE(answer.get() != NULL); in TEST_F()
2164 answer->GetContentDescriptionByName("audio")); in TEST_F()
2167 answer->GetContentDescriptionByName("video")); in TEST_F()
2172 audio_trans_desc = answer->GetTransportDescriptionByName("audio"); in TEST_F()
2174 video_trans_desc = answer->GetTransportDescriptionByName("video"); in TEST_F()
2181 answer.reset(f2_.CreateAnswer(offer.get(), options, NULL)); in TEST_F()
2182 ASSERT_TRUE(answer.get() != NULL); in TEST_F()
2185 answer->GetContentDescriptionByName("audio")); in TEST_F()
2188 answer->GetContentDescriptionByName("video")); in TEST_F()
2197 audio_trans_desc = answer->GetTransportDescriptionByName("audio"); in TEST_F()
2199 video_trans_desc = answer->GetTransportDescriptionByName("video"); in TEST_F()
2237 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
2239 EXPECT_TRUE(answer.get() == NULL); in TEST_F()
2254 rtc::scoped_ptr<SessionDescription> offer, answer; in TEST_F() local
2281 answer.reset(f2_.CreateAnswer(offer.get(), options, NULL)); in TEST_F()
2282 ASSERT_TRUE(answer.get() != NULL); in TEST_F()
2285 answer->GetTransportDescriptionByName("audio"); in TEST_F()
2288 answer->GetTransportDescriptionByName("video"); in TEST_F()
2291 answer->GetTransportDescriptionByName("data"); in TEST_F()
2312 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
2314 ASSERT_TRUE(answer.get() != NULL); in TEST_F()
2315 audio_content = answer->GetContentByName("audio"); in TEST_F()