feat: add LATM support

This commit is contained in:
langhuihui
2024-09-26 20:34:00 +08:00
parent eafbf28a02
commit c943c2a0ec
2 changed files with 8 additions and 7 deletions

View File

@@ -78,9 +78,9 @@ func (s *RTSPSubscriber) OnEvent(event any) {
SampleRate: int(v.SampleRate),
ChannelCount: int(v.Channels),
},
SizeLength: v.SizeLength,
IndexLength: v.IndexLength,
IndexDeltaLength: v.IndexDeltaLength,
SizeLength: v.AACDecoder.SizeLength,
IndexLength: v.AACDecoder.IndexLength,
IndexDeltaLength: v.AACDecoder.IndexDeltaLength,
}},
}
case codec.CodecID_PCMA: