fmp4文件是如何根据AAC帧的ADTS填充esds框的?

How does the fmp4 file populate the esds box according to the ADTS of the AAC frame?

我的源 AAC 帧包含 ADTS header。需要根据ADTS初始化fmp4文件中的esds box,把ADTSheader裁掉,填入其余数据,但是我试了很多次都没有成功(播放器无法解析出音频). 以下是我的 ADTS 数据。我配置的esds盒子哪些参数需要修改?

ADTS

FF 1111 1111 0-7位

F9 1111 1001 8-15 位 MPEG-2 无 CRC

60 0110 0000 16-23 位 AAC 主

40 0100 0000 24-27位

您需要解析广告以获取音频对象类型、频率索引和通道数。然后写一个音频特定的配置。 https://wiki.multimedia.cx/index.php/MPEG-4_Audio#Audio_Specific_Config