Add Opus as supported audio for mp4 (#5030)

This commit is contained in:
WithoutPants 2024-07-01 11:19:38 +10:00 committed by GitHub
parent 436ae0a027
commit 4cca3b298d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ var validForHevc = []Container{Mp4}
var validAudioForMkv = []ProbeAudioCodec{Aac, Mp3, Vorbis, Opus} var validAudioForMkv = []ProbeAudioCodec{Aac, Mp3, Vorbis, Opus}
var validAudioForWebm = []ProbeAudioCodec{Vorbis, Opus} var validAudioForWebm = []ProbeAudioCodec{Vorbis, Opus}
var validAudioForMp4 = []ProbeAudioCodec{Aac, Mp3} var validAudioForMp4 = []ProbeAudioCodec{Aac, Mp3, Opus}
var ( var (
// ErrUnsupportedVideoCodecForBrowser is returned when the video codec is not supported for browser streaming. // ErrUnsupportedVideoCodecForBrowser is returned when the video codec is not supported for browser streaming.