mirror of
https://github.com/aler9/gortsplib
synced 2025-10-04 14:52:46 +08:00
codecaac: add test case
This commit is contained in:
@@ -11,6 +11,15 @@ var configCases = []struct {
|
||||
enc []byte
|
||||
dec MPEG4AudioConfig
|
||||
}{
|
||||
{
|
||||
name: "aac-lc 44.1khz mono",
|
||||
enc: []byte{0x12, 0x08, 0x56, 0xe5, 0x00},
|
||||
dec: MPEG4AudioConfig{
|
||||
Type: MPEG4AudioTypeAACLC,
|
||||
SampleRate: 44100,
|
||||
ChannelCount: 1,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "aac-lc 48khz stereo",
|
||||
enc: []byte{17, 144},
|
||||
|
Reference in New Issue
Block a user