mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-05 15:46:58 +08:00
fix rtmp -> rtsp audio conversion (#932)
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user