Home
last modified time | relevance | path

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

/external/webrtc/talk/app/webrtc/
Dpeerconnectioninterface_unittest.cc2265 RTCOfferAnswerOptions rtc_options; in TEST() local
2266 rtc_options.offer_to_receive_audio = RTCOfferAnswerOptions::kUndefined - 1; in TEST()
2269 EXPECT_FALSE(ConvertRtcOptionsForOffer(rtc_options, &options)); in TEST()
2271 rtc_options.offer_to_receive_audio = in TEST()
2273 EXPECT_FALSE(ConvertRtcOptionsForOffer(rtc_options, &options)); in TEST()
2277 RTCOfferAnswerOptions rtc_options; in TEST() local
2278 rtc_options.offer_to_receive_video = RTCOfferAnswerOptions::kUndefined - 1; in TEST()
2281 EXPECT_FALSE(ConvertRtcOptionsForOffer(rtc_options, &options)); in TEST()
2283 rtc_options.offer_to_receive_video = in TEST()
2285 EXPECT_FALSE(ConvertRtcOptionsForOffer(rtc_options, &options)); in TEST()
[all …]
Dpeerconnection.cc448 const PeerConnectionInterface::RTCOfferAnswerOptions& rtc_options, in ConvertRtcOptionsForOffer() argument
451 if (!IsValidOfferToReceiveMedia(rtc_options.offer_to_receive_audio) || in ConvertRtcOptionsForOffer()
452 !IsValidOfferToReceiveMedia(rtc_options.offer_to_receive_video)) { in ConvertRtcOptionsForOffer()
456 if (rtc_options.offer_to_receive_audio != RTCOfferAnswerOptions::kUndefined) { in ConvertRtcOptionsForOffer()
457 session_options->recv_audio = (rtc_options.offer_to_receive_audio > 0); in ConvertRtcOptionsForOffer()
459 if (rtc_options.offer_to_receive_video != RTCOfferAnswerOptions::kUndefined) { in ConvertRtcOptionsForOffer()
460 session_options->recv_video = (rtc_options.offer_to_receive_video > 0); in ConvertRtcOptionsForOffer()
463 session_options->vad_enabled = rtc_options.voice_activity_detection; in ConvertRtcOptionsForOffer()
465 rtc_options.ice_restart; in ConvertRtcOptionsForOffer()
467 rtc_options.ice_restart; in ConvertRtcOptionsForOffer()
[all …]
Dpeerconnection.h51 const PeerConnectionInterface::RTCOfferAnswerOptions& rtc_options,
219 const PeerConnectionInterface::RTCOfferAnswerOptions& rtc_options,
Dwebrtcsession_unittest.cc561 const PeerConnectionInterface::RTCOfferAnswerOptions& rtc_options, in GetOptionsForOffer() argument
563 ASSERT_TRUE(ConvertRtcOptionsForOffer(rtc_options, session_options)); in GetOptionsForOffer()
566 if (rtc_options.offer_to_receive_audio == in GetOptionsForOffer()
571 if (rtc_options.offer_to_receive_video == in GetOptionsForOffer()
/external/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine.h209 rtc::PacketOptions rtc_options; in SendRtp() local
210 rtc_options.packet_id = options.packet_id; in SendRtp()
211 return VoiceMediaChannel::SendPacket(&packet, rtc_options); in SendRtp()
Dwebrtcvideoengine2.cc1543 rtc::PacketOptions rtc_options; in SendRtp() local
1544 rtc_options.packet_id = options.packet_id; in SendRtp()
1545 return MediaChannel::SendPacket(&packet, rtc_options); in SendRtp()