mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-06 16:17:59 +08:00
fix rtmp -> rtsp audio conversion (#932)
This commit is contained in:
@@ -115,7 +115,7 @@ func (s *hlsSource) runInner() bool {
|
||||
if audioTrack != nil {
|
||||
audioTrackID = len(tracks)
|
||||
audioEnc = &rtpaac.Encoder{
|
||||
PayloadType: 97,
|
||||
PayloadType: 96,
|
||||
SampleRate: audioTrack.ClockRate(),
|
||||
SizeLength: 13,
|
||||
IndexLength: 3,
|
||||
|
Reference in New Issue
Block a user