hls muxer: support reading Opus tracks (#1338)

This commit is contained in:
aler9
2023-01-03 18:36:13 +01:00
parent cce3fb440f
commit 034e42f463
23 changed files with 447 additions and 193 deletions

View File

@@ -25,6 +25,9 @@ func newFormatProcessor(forma format.Format, generateRTPPackets bool) (formatPro
case *format.MPEG4Audio:
return newFormatProcessorMPEG4Audio(forma, generateRTPPackets)
case *format.Opus:
return newFormatProcessorOpus(forma, generateRTPPackets)
default:
return newFormatProcessorGeneric(forma, generateRTPPackets)
}