Home
last modified time | relevance | path

Searched refs:send_codec (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/modules/audio_coding/test/
DEncodeDecodeTest.cc243 for (const auto& send_codec : send_codecs) { in Perform() local
254 send_codec.first, send_codec.second); in Perform()
/external/webrtc/pc/
Dchannel.cc1036 for (auto& send_codec : send_params.codecs) { in SetLocalContent_w() local
1037 auto* recv_codec = FindMatchingCodec(recv_params.codecs, send_codec); in SetLocalContent_w()
1039 if (!recv_codec->packetization && send_codec.packetization) { in SetLocalContent_w()
1040 send_codec.packetization.reset(); in SetLocalContent_w()
1042 } else if (recv_codec->packetization != send_codec.packetization) { in SetLocalContent_w()
1136 auto* send_codec = FindMatchingCodec(send_params.codecs, recv_codec); in SetRemoteContent_w() local
1137 if (send_codec) { in SetRemoteContent_w()
1138 if (!send_codec->packetization && recv_codec.packetization) { in SetRemoteContent_w()
1141 } else if (send_codec->packetization != recv_codec.packetization) { in SetRemoteContent_w()
Drtp_transceiver.cc54 absl::c_any_of(send_codecs, [&codec](const T& send_codec) { in VerifyCodecPreferences() argument
55 return send_codec.MatchesCapability(codec); in VerifyCodecPreferences()
Drtc_stats_collector_unittest.cc634 RtpCodecParameters send_codec; in SetupExampleStatsGraphForSelectorTests() local
635 send_codec.payload_type = 1; in SetupExampleStatsGraphForSelectorTests()
636 send_codec.clock_rate = 0; in SetupExampleStatsGraphForSelectorTests()
638 std::make_pair(send_codec.payload_type, send_codec)); in SetupExampleStatsGraphForSelectorTests()
652 video_media_info.senders[0].codec_payload_type = send_codec.payload_type; in SetupExampleStatsGraphForSelectorTests()
/external/webrtc/media/engine/
Dwebrtc_video_engine.cc756 changed_params->send_codec = absl::nullopt; in GetChangedSendParameters()
758 changed_params->send_codec = negotiated_codecs.front(); in GetChangedSendParameters()
813 for (const auto& send_codec : *changed_params.negotiated_codecs) in SetSendParameters()
814 RTC_LOG(LS_INFO) << "Negotiated codec: " << send_codec.codec.ToString(); in SetSendParameters()
834 params.send_codec = params.negotiated_codecs->front(); in RequestEncoderFallback()
871 params.send_codec = codec_setting; in RequestEncoderSwitch()
904 params.send_codec = new_codec_setting; in RequestEncoderSwitch()
921 if (changed_params.send_codec) in ApplyChangedParams()
922 send_codec_ = changed_params.send_codec; in ApplyChangedParams()
931 if (changed_params.send_codec || changed_params.max_bandwidth_bps) { in ApplyChangedParams()
[all …]
Dwebrtc_video_engine.h148 bool GetSendCodec(VideoCodec* send_codec) override;
278 absl::optional<VideoCodecSettings> send_codec; member
/external/webrtc/media/base/
Dfake_media_engine.cc306 bool FakeVideoMediaChannel::GetSendCodec(VideoCodec* send_codec) { in GetSendCodec() argument
310 *send_codec = send_codecs_[0]; in GetSendCodec()
Dmedia_channel.h885 virtual bool GetSendCodec(VideoCodec* send_codec) = 0;
Dfake_media_engine.h423 bool GetSendCodec(VideoCodec* send_codec) override;