Remove CodecInst pt.2
The following APIs on AudioCodingModule are deprecated with this CL: static int NumberOfCodecs(); static int Codec(int, CodecInst*); static int Codec(const char*, CodecInst*, int, size_t); static int Codec(const char*, int, size_t); absl::optional<CodecInst> SendCodec() const; bool RegisterReceiveCodec(int, const SdpAudioFormat&); int RegisterExternalReceiveCodec(int, AudioDecoder*, int, int, const std::string&); int UnregisterReceiveCodec(uint8_t); int32_t ReceiveCodec(CodecInst*); absl::optional<SdpAudioFormat> ReceiveFormat(); As well as this method on RtpRtcp module: int32_t RegisterSendPayload(const CodecInst&); Bug: webrtc:7626 Change-Id: I1230732136f1fe9048cf74afdeab767ca57ac9ce Reviewed-on: https://webrtc-review.googlesource.com/c/113816 Commit-Queue: Fredrik Solenberg <solenberg@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26025}
This commit is contained in:
committed by
Commit Bot
parent
a134204aa3
commit
f693bfae5f
@ -184,8 +184,6 @@ class NetEqImpl : public webrtc::NetEq {
|
||||
|
||||
int last_output_sample_rate_hz() const override;
|
||||
|
||||
absl::optional<CodecInst> GetDecoder(int payload_type) const override;
|
||||
|
||||
absl::optional<SdpAudioFormat> GetDecoderFormat(
|
||||
int payload_type) const override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user