mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
修复adts头相关bug
This commit is contained in:
parent
df73eb2c10
commit
99c1dd339f
@ -257,6 +257,9 @@ private:
|
||||
* 解析2个字节的aac配置
|
||||
*/
|
||||
void onReady(){
|
||||
if(_cfg.size() < 2){
|
||||
return;
|
||||
}
|
||||
AACFrame aacFrame;
|
||||
makeAdtsHeader(_cfg,aacFrame);
|
||||
getAACInfo(aacFrame,_sampleRate,_channel);
|
||||
|
Loading…
Reference in New Issue
Block a user