Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Unified Diff: voice_engine/channel_proxy.cc

Issue 3019433002: Remove VoECodec (Closed)
Patch Set: rebase Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « voice_engine/channel_proxy.h ('k') | voice_engine/include/voe_codec.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: voice_engine/channel_proxy.cc
diff --git a/voice_engine/channel_proxy.cc b/voice_engine/channel_proxy.cc
index a4d68ace0800799a55890b192cf24587927329ab..f6013c2540de1e023c4281606b2e77380442d015 100644
--- a/voice_engine/channel_proxy.cc
+++ b/voice_engine/channel_proxy.cc
@@ -197,13 +197,6 @@ void ChannelProxy::SetBitrate(int bitrate_bps, int64_t probing_interval_ms) {
channel()->SetBitRate(bitrate_bps, probing_interval_ms);
}
-void ChannelProxy::SetRecPayloadType(int payload_type,
- const SdpAudioFormat& format) {
- RTC_DCHECK(worker_thread_checker_.CalledOnValidThread());
- const int result = channel()->SetRecPayloadType(payload_type, format);
- RTC_DCHECK_EQ(0, result);
-}
-
void ChannelProxy::SetReceiveCodecs(
const std::map<int, SdpAudioFormat>& codecs) {
RTC_DCHECK(worker_thread_checker_.CalledOnValidThread());
@@ -334,11 +327,6 @@ void ChannelProxy::OnRecoverableUplinkPacketLossRate(
channel()->OnRecoverableUplinkPacketLossRate(recoverable_packet_loss_rate);
}
-void ChannelProxy::RegisterLegacyReceiveCodecs() {
- RTC_DCHECK(worker_thread_checker_.CalledOnValidThread());
- channel()->RegisterLegacyReceiveCodecs();
-}
-
std::vector<RtpSource> ChannelProxy::GetSources() const {
RTC_DCHECK(worker_thread_checker_.CalledOnValidThread());
return channel()->GetSources();
« no previous file with comments | « voice_engine/channel_proxy.h ('k') | voice_engine/include/voe_codec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698