AAC sdp添加通道数

This commit is contained in:
xiongziliang
2020-04-30 13:35:38 +08:00
parent 3ad1fe4924
commit 920f06a996
2 changed files with 3 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ Sdp::Ptr AACTrack::getSdp() {
WarnL << getCodecName() << " Track未准备好";
return nullptr;
}
return std::make_shared<AACSdp>(getAacCfg(),getAudioSampleRate());
return std::make_shared<AACSdp>(getAacCfg(),getAudioSampleRate(), getAudioChannel());
}
}//namespace mediakit