Index: webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h |
diff --git a/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h b/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h |
index f1f2714ff9ce5d4272f4c3e8292d570c258b341f..64d6384e762bc6ce29f5b0315de07f105388836a 100644 |
--- a/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h |
+++ b/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h |
@@ -13,6 +13,7 @@ |
#include <vector> |
+#include "webrtc/api/audio_codecs/audio_format.h" |
#include "webrtc/base/constructormagic.h" |
#include "webrtc/base/scoped_ref_ptr.h" |
#include "webrtc/modules/audio_coding/codecs/audio_encoder.h" |
@@ -55,8 +56,13 @@ class AudioEncoderIsacT final : public AudioEncoder { |
explicit AudioEncoderIsacT( |
const CodecInst& codec_inst, |
const rtc::scoped_refptr<LockedIsacBandwidthInfo>& bwinfo); |
+ AudioEncoderIsacT(int payload_type, const SdpAudioFormat& format); |
~AudioEncoderIsacT() override; |
+ static constexpr const char* GetPayloadName() { return "isac"; } |
+ static rtc::Optional<AudioCodecInfo> QueryAudioEncoder( |
+ const SdpAudioFormat& format); |
+ |
int SampleRateHz() const override; |
size_t NumChannels() const override; |
size_t Num10MsFramesInNextPacket() const override; |