From 2434470fb89b89c3588221fda378cb9ca27beb3f Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Thu, 1 Apr 2021 22:20:29 +0800 Subject: [PATCH] =?UTF-8?q?G711=E5=BC=BA=E5=88=B6=E8=A7=84=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Extension/G711.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Extension/G711.h b/src/Extension/G711.h index bcf5f677..550acbc4 100644 --- a/src/Extension/G711.h +++ b/src/Extension/G711.h @@ -22,7 +22,7 @@ namespace mediakit{ class G711Track : public AudioTrackImp{ public: using Ptr = std::shared_ptr; - G711Track(CodecId codecId,int sample_rate, int channels, int sample_bit) : AudioTrackImp(codecId,sample_rate,channels,sample_bit){} + G711Track(CodecId codecId, int sample_rate, int channels, int sample_bit) : AudioTrackImp(codecId, 8000, 1, 16) {} private: Sdp::Ptr getSdp() override;