fix rtmp -> rtsp audio conversion (#932)

This commit is contained in:
aler9
2022-05-13 16:59:52 +02:00
parent 7ecd52808a
commit 13fb24da39
4 changed files with 4 additions and 4 deletions

View File

@@ -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,