forked from External/mediamtx
fix rtmp -> rtsp audio conversion (#932)
This commit is contained in:
parent
7ecd52808a
commit
13fb24da39
4 changed files with 4 additions and 4 deletions
|
|
@ -144,7 +144,7 @@ func (s *rtmpSource) runInner() bool {
|
|||
var aacEncoder *rtpaac.Encoder
|
||||
if audioTrack != nil {
|
||||
aacEncoder = &rtpaac.Encoder{
|
||||
PayloadType: 97,
|
||||
PayloadType: 96,
|
||||
SampleRate: audioTrack.ClockRate(),
|
||||
SizeLength: 13,
|
||||
IndexLength: 3,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue