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

Unified Diff: voice_engine/channel.h

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/BUILD.gn ('k') | voice_engine/channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: voice_engine/channel.h
diff --git a/voice_engine/channel.h b/voice_engine/channel.h
index d023f87753635ff94221c885f36e123af6e52a35..5c95a64f1c68ba5291aba3e4255d2ac91d310941 100644
--- a/voice_engine/channel.h
+++ b/voice_engine/channel.h
@@ -136,7 +136,6 @@ class Channel
uint32_t instanceId,
const VoEBase::ChannelConfig& config);
int32_t Init();
- void RegisterLegacyReceiveCodecs();
void Terminate();
int32_t SetEngineInformation(Statistics& engineStatistics,
OutputMixer& outputMixer,
@@ -171,20 +170,11 @@ class Channel
int32_t RegisterVoiceEngineObserver(VoiceEngineObserver& observer);
int32_t DeRegisterVoiceEngineObserver();
- // VoECodec
+ // Codecs
int32_t GetSendCodec(CodecInst& codec);
int32_t GetRecCodec(CodecInst& codec);
int32_t SetSendCodec(const CodecInst& codec);
void SetBitRate(int bitrate_bps, int64_t probing_interval_ms);
- int32_t SetVADStatus(bool enableVAD, ACMVADMode mode, bool disableDTX);
- int32_t GetVADStatus(bool& enabledVAD, ACMVADMode& mode, bool& disabledDTX);
- int32_t SetRecPayloadType(const CodecInst& codec);
- int32_t SetRecPayloadType(int payload_type, const SdpAudioFormat& format);
- int32_t GetRecPayloadType(CodecInst& codec);
- int32_t SetSendCNPayloadType(int type, PayloadFrequencies frequency);
- int SetOpusMaxPlaybackRate(int frequency_hz);
- int SetOpusDtx(bool enable_dtx);
- int GetOpusDtx(bool* enabled);
bool EnableAudioNetworkAdaptor(const std::string& config_string);
void DisableAudioNetworkAdaptor();
void SetReceiverFrameLengthRange(int min_frame_length_ms,
@@ -250,8 +240,6 @@ class Channel
unsigned short dataLengthInBytes);
int GetRemoteRTCPReportBlocks(std::vector<ReportBlock>* report_blocks);
int GetRTPStatistics(CallStatistics& stats);
- int SetCodecFECStatus(bool enable);
- bool GetCodecFECStatus();
void SetNACKStatus(bool enable, int maxNumberOfPackets);
// From AudioPacketizationCallback in the ACM
« no previous file with comments | « voice_engine/BUILD.gn ('k') | voice_engine/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698