Home
last modified time | relevance | path

Searched refs:rtc_options (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dmediastreamsignaling_unittest.cc602 RTCOfferAnswerOptions rtc_options; in TEST_F() local
603 rtc_options.offer_to_receive_audio = RTCOfferAnswerOptions::kUndefined - 1; in TEST_F()
606 EXPECT_FALSE(signaling_->GetOptionsForOffer(rtc_options, &options)); in TEST_F()
608 rtc_options.offer_to_receive_audio = in TEST_F()
610 EXPECT_FALSE(signaling_->GetOptionsForOffer(rtc_options, &options)); in TEST_F()
615 RTCOfferAnswerOptions rtc_options; in TEST_F() local
616 rtc_options.offer_to_receive_video = in TEST_F()
620 EXPECT_FALSE(signaling_->GetOptionsForOffer(rtc_options, &options)); in TEST_F()
622 rtc_options.offer_to_receive_video = in TEST_F()
624 EXPECT_FALSE(signaling_->GetOptionsForOffer(rtc_options, &options)); in TEST_F()
[all …]
Dmediastreamsignaling.cc420 const PeerConnectionInterface::RTCOfferAnswerOptions& rtc_options, in GetOptionsForOffer() argument
423 if (!IsValidOfferToReceiveMedia(rtc_options.offer_to_receive_audio) || in GetOptionsForOffer()
424 !IsValidOfferToReceiveMedia(rtc_options.offer_to_receive_video)) { in GetOptionsForOffer()
434 if (rtc_options.offer_to_receive_audio != RTCOfferAnswerOptions::kUndefined) { in GetOptionsForOffer()
435 session_options->has_audio = rtc_options.offer_to_receive_audio > 0; in GetOptionsForOffer()
437 if (rtc_options.offer_to_receive_video != RTCOfferAnswerOptions::kUndefined) { in GetOptionsForOffer()
438 session_options->has_video = rtc_options.offer_to_receive_video > 0; in GetOptionsForOffer()
441 session_options->vad_enabled = rtc_options.voice_activity_detection; in GetOptionsForOffer()
442 session_options->transport_options.ice_restart = rtc_options.ice_restart; in GetOptionsForOffer()
443 session_options->bundle_enabled = rtc_options.use_rtp_mux; in GetOptionsForOffer()
Dmediastreamsignaling.h209 const PeerConnectionInterface::RTCOfferAnswerOptions& rtc_options,