mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-09 17:40:18 +08:00
hls muxer: support reading Opus tracks (#1338)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user