• Home
  • Raw
  • Download

Lines Matching refs:callee

203   auto callee = CreatePeerConnectionWithAudioVideo();  in TEST_P()  local
204 callee->media_engine()->set_fail_create_channel(true); in TEST_P()
207 ASSERT_FALSE(callee->SetRemoteDescription(caller->CreateOffer(), &error)); in TEST_P()
246 auto callee = CreatePeerConnection(); in TEST_P() local
247 callee->AddAudioTrack(kCalleeAudioId); in TEST_P()
248 callee->AddVideoTrack(kCalleeVideoId); in TEST_P()
250 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
252 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal())); in TEST_P()
266 auto* callee_voice = callee->media_engine()->GetVoiceChannel(0); in TEST_P()
272 auto* callee_video = callee->media_engine()->GetVideoChannel(0); in TEST_P()
286 auto callee = CreatePeerConnection(); in TEST_F() local
288 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_F()
296 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_F()
298 ASSERT_FALSE(callee->media_engine()->GetVoiceChannel(0)); in TEST_F()
299 ASSERT_FALSE(callee->media_engine()->GetVideoChannel(0)); in TEST_F()
309 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_F() local
311 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_F()
317 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_F()
319 auto callee_voice = callee->media_engine()->GetVoiceChannel(0); in TEST_F()
320 auto callee_video = callee->media_engine()->GetVideoChannel(0); in TEST_F()
356 auto callee = CreatePeerConnection(); in TEST_F() local
357 auto callee_video_track = callee->AddVideoTrack("v1"); in TEST_F()
358 ASSERT_TRUE(callee->SetRemoteDescription(std::move(offer))); in TEST_F()
361 auto answer = callee->CreateAnswer(options); in TEST_F()
370 callee->SetLocalDescription(std::move(answer)); in TEST_F()
371 auto senders = callee->pc()->GetSenders(); in TEST_F()
384 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_F() local
386 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_F()
389 auto transceivers = callee->pc()->GetTransceivers(); in TEST_F()
394 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_F()
396 EXPECT_FALSE(callee->media_engine()->GetVoiceChannel(0)); in TEST_F()
397 EXPECT_FALSE(callee->media_engine()->GetVideoChannel(0)); in TEST_F()
405 auto callee = CreatePeerConnection(); in TEST_F() local
406 auto callee_audio_track = callee->AddAudioTrack("a"); in TEST_F()
407 auto callee_video_track = callee->AddVideoTrack("v"); in TEST_F()
409 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_F()
412 callee->pc()->RemoveTrack(callee_audio_track); in TEST_F()
413 callee->pc()->RemoveTrack(callee_video_track); in TEST_F()
415 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_F()
417 auto callee_voice = callee->media_engine()->GetVoiceChannel(0); in TEST_F()
418 auto callee_video = callee->media_engine()->GetVideoChannel(0); in TEST_F()
429 auto callee = CreatePeerConnection(); in TEST_P() local
431 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_P()
437 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_P()
439 auto a1 = callee->media_engine()->GetVoiceChannel(0); in TEST_P()
440 auto a2 = callee->media_engine()->GetVoiceChannel(1); in TEST_P()
441 auto v1 = callee->media_engine()->GetVideoChannel(0); in TEST_P()
442 auto v2 = callee->media_engine()->GetVideoChannel(1); in TEST_P()
466 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
475 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get(), offer_options, in TEST_P()
479 callee->AddAudioTrack("a2"); in TEST_P()
480 callee->AddVideoTrack("v2"); in TEST_P()
482 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get(), offer_options, in TEST_P()
485 auto callee_voice = callee->media_engine()->GetVoiceChannel(0); in TEST_P()
487 auto callee_video = callee->media_engine()->GetVideoChannel(0); in TEST_P()
504 auto callee = CreatePeerConnection(); in TEST_P() local
505 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
506 auto answer = callee->CreateAnswer(); in TEST_P()
568 auto callee = CreatePeerConnectionWithVideo(std::move(callee_fake_engine)); in TEST_P() local
569 ASSERT_TRUE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
570 auto answer = callee->CreateAnswerAndSetAsLocal(options); in TEST_P()
606 auto callee = CreatePeerConnectionWithVideo(std::move(callee_fake_engine)); in TEST_P() local
607 ASSERT_TRUE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
608 auto answer = callee->CreateAnswerAndSetAsLocal(callee_options); in TEST_P()
709 auto callee = CreatePeerConnection(); in TEST_P() local
711 callee->AddAudioTrack("a"); in TEST_P()
713 ASSERT_TRUE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
718 auto answer = callee->CreateAnswer(options); in TEST_P()
759 auto callee = CreatePeerConnection(); in TEST_P() local
761 callee->AddAudioTrack("a"); in TEST_P()
763 ASSERT_TRUE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
768 auto answer = callee->CreateAnswer(options); in TEST_P()
811 auto callee = CreatePeerConnection(); in TEST_P() local
812 callee->AddVideoTrack("v"); in TEST_P()
814 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
819 auto answer = callee->CreateAnswer(options); in TEST_P()
865 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
866 AddComfortNoiseCodecsToSend(callee->media_engine()); in TEST_P()
868 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
872 auto answer = callee->CreateAnswer(options); in TEST_P()
901 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
903 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
905 auto answer = callee->CreateAnswer(); in TEST_P()
915 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
917 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
919 auto answer = callee->CreateAnswer(); in TEST_P()
923 ASSERT_FALSE(callee->SetLocalDescription(std::move(answer), &error)); in TEST_P()
992 auto callee = CreatePeerConnection(); in TEST_P() local
995 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
998 callee->CreateAnswerAndSetAsLocal(options_reject_video))); in TEST_P()
1009 callee->AddAudioTrack("a"); in TEST_P()
1010 auto callee_video_track = callee->AddVideoTrack("v"); in TEST_P()
1011 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
1013 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal())); in TEST_P()
1015 auto callee_voice = callee->media_engine()->GetVoiceChannel(0); in TEST_P()
1019 auto callee_video = callee->media_engine()->GetVideoChannel(0); in TEST_P()
1025 callee->pc()->RemoveTrack(callee_video_track); in TEST_P()
1026 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
1028 callee->SetLocalDescription(callee->CreateAnswer(options_reject_video))); in TEST_P()
1030 callee_voice = callee->media_engine()->GetVoiceChannel(0); in TEST_P()
1034 callee_video = callee->media_engine()->GetVideoChannel(0); in TEST_P()
1062 auto callee = CreatePeerConnection(); in TEST_P() local
1065 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
1068 callee->CreateAnswerAndSetAsLocal(options_reject_audio))); in TEST_P()
1079 auto callee_audio_track = callee->AddAudioTrack("a"); in TEST_P()
1080 callee->AddVideoTrack("v"); in TEST_P()
1081 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
1083 callee->CreateAnswerAndSetAsLocal(options_no_bundle))); in TEST_P()
1085 auto callee_voice = callee->media_engine()->GetVoiceChannel(0); in TEST_P()
1089 auto callee_video = callee->media_engine()->GetVideoChannel(0); in TEST_P()
1095 callee->pc()->RemoveTrack(callee_audio_track); in TEST_P()
1096 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
1098 callee->SetLocalDescription(callee->CreateAnswer(options_reject_audio))); in TEST_P()
1100 callee_voice = callee->media_engine()->GetVoiceChannel(0); in TEST_P()
1102 callee_video = callee->media_engine()->GetVideoChannel(0); in TEST_P()
1113 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
1115 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
1121 ASSERT_FALSE(caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal(), in TEST_P()
1136 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
1138 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
1144 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal())); in TEST_P()
1148 EXPECT_FALSE(caller->SetRemoteDescription(callee->CreateAnswer())); in TEST_P()
1178 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
1183 ASSERT_TRUE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
1185 auto answer = callee->CreateAnswer(); in TEST_P()
1199 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
1204 ASSERT_TRUE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
1205 ASSERT_TRUE(callee->SetLocalDescription(callee->CreateAnswer())); in TEST_P()
1207 auto reoffer = callee->CreateOffer(); in TEST_P()
1218 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
1225 EXPECT_FALSE(callee->SetRemoteDescription(std::move(offer), &error)); in TEST_P()
1619 auto callee = CreatePeerConnection(std::move(callee_fake_engine)); in TEST_F() local
1647 callee->SetRemoteDescription(std::move(offer)); in TEST_F()
1649 auto recv_transceiver = callee->pc()->GetTransceivers().front(); in TEST_F()
1661 auto answer = callee->CreateAnswerAndSetAsLocal(); in TEST_F()
1693 auto callee = CreatePeerConnection(std::move(callee_fake_engine)); in TEST_F() local
1723 callee->SetRemoteDescription(std::move(offer)); in TEST_F()
1725 auto recv_transceiver = callee->pc()->GetTransceivers().front(); in TEST_F()
1728 auto answer = callee->CreateAnswerAndSetAsLocal(); in TEST_F()