mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
codecaac: add test case
This commit is contained in:
@@ -11,6 +11,15 @@ var configCases = []struct {
|
|||||||
enc []byte
|
enc []byte
|
||||||
dec MPEG4AudioConfig
|
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",
|
name: "aac-lc 48khz stereo",
|
||||||
enc: []byte{17, 144},
|
enc: []byte{17, 144},
|
||||||
|
Reference in New Issue
Block a user