mirror of
https://github.com/codedread/bitjs
synced 2025-10-04 01:59:15 +02:00
1.1.5: Add support for HE-AAC profile in mp4a.
This commit is contained in:
parent
2d0bb47014
commit
ce8f61da94
4 changed files with 20 additions and 1 deletions
|
@ -488,6 +488,15 @@ describe('codecs test suite', () => {
|
|||
});
|
||||
});
|
||||
|
||||
it('recognizes codec_name=HE-AAC', () => {
|
||||
const info = structuredClone(baseInfo);
|
||||
info.streams[0].profile = 'HE-AAC';
|
||||
info.streams[0].codec_name = 'aac';
|
||||
expect(getFullMIMEString(info))
|
||||
.to.be.a('string')
|
||||
.and.equals('audio/mp4; codecs="mp4a.40.5"');
|
||||
});
|
||||
|
||||
it('handles codec_name=aac but no codec_tag_string', () => {
|
||||
const info = structuredClone(baseInfo);
|
||||
info.streams[0].profile = 'LC';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue