Lines Matching refs:callee
292 auto callee = CreatePeerConnectionWithAudioVideo(config); in TEST_P() local
293 callee->network()->AddInterface(kCalleeAddress); in TEST_P()
295 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
298 auto answer = callee->CreateAnswer(options_no_bundle); in TEST_P()
301 callee->SetLocalDescription(CloneSessionDescription(answer.get()))); in TEST_P()
316 EXPECT_TRUE_WAIT(callee->IsIceGatheringDone(), kDefaultTimeout); in TEST_P()
318 GetCandidateComponents(callee->observer()->GetCandidatesByMline(0)), in TEST_P()
322 GetCandidateComponents(callee->observer()->GetCandidatesByMline(1)), in TEST_P()
335 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
337 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
341 caller->SetRemoteDescription(callee->CreateAnswer(options_no_bundle))); in TEST_P()
359 auto callee = CreatePeerConnectionWithAudioVideo(config); in TEST_P() local
361 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
362 ASSERT_TRUE(caller->SetRemoteDescription(callee->CreateAnswer())); in TEST_P()
376 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
378 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
385 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal(options))); in TEST_P()
430 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
432 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
440 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal(options))); in TEST_P()
483 auto callee = CreatePeerConnectionWithAudioVideo(config); in TEST_P() local
487 ASSERT_TRUE(callee->SetRemoteDescription( in TEST_P()
490 EXPECT_EQ(callee->voice_rtp_transport(), callee->video_rtp_transport()); in TEST_P()
492 ASSERT_TRUE(callee->SetLocalDescription(callee->CreateAnswer())); in TEST_P()
494 EXPECT_EQ(callee->voice_rtp_transport(), callee->video_rtp_transport()); in TEST_P()
502 auto callee = CreatePeerConnectionWithAudioVideo(config); in TEST_P() local
506 EXPECT_FALSE(callee->SetRemoteDescription( in TEST_P()
520 auto callee = CreatePeerConnection(); in TEST_P() local
521 callee->AddVideoTrack("v"); in TEST_P()
523 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
528 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal(options))); in TEST_P()
540 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
542 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
548 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal())); in TEST_P()
561 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
563 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
569 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal())); in TEST_P()
577 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
593 EXPECT_FALSE(callee->SetRemoteDescription(std::move(offer), &error)); in TEST_P()
611 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
614 callee->network()->AddInterface(kCalleeAddress); in TEST_P()
619 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
621 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal(options))); in TEST_P()
653 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
655 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
659 auto answer = callee->CreateAnswer(); in TEST_P()
682 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
701 EXPECT_TRUE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
702 EXPECT_TRUE(callee->CreateAnswerAndSetAsLocal(options)); in TEST_P()
708 callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal(options))); in TEST_P()
709 auto answer = callee->CreateAnswer(options); in TEST_P()
712 EXPECT_FALSE(callee->SetLocalDescription(std::move(answer))); in TEST_P()
720 auto callee = CreatePeerConnectionWithAudioVideo(config); in TEST_P() local
735 callee->SetRemoteDescription(std::move(offer)); in TEST_P()
736 auto answer = callee->CreateAnswer(options); in TEST_P()
790 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
802 EXPECT_TRUE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
804 auto answer = callee->CreateAnswer(); in TEST_P()
811 EXPECT_FALSE(callee->SetLocalDescription(std::move(answer))); in TEST_P()
817 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
828 EXPECT_FALSE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
835 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
837 EXPECT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
839 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal())); in TEST_P()
841 EXPECT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
842 auto answer = callee->CreateAnswer(); in TEST_P()
852 callee->SetLocalDescription(CloneSessionDescription(answer.get()))); in TEST_P()
870 auto callee = CreatePeerConnection(); in TEST_F() local
872 EXPECT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_F()
875 for (const auto& transceiver : callee->pc()->GetTransceivers()) { in TEST_F()
879 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal())); in TEST_F()
882 const SessionDescriptionInterface* desc = callee->pc()->local_description(); in TEST_F()