Correctly set mp3 codec string in hls playlist
This commit is contained in:
parent
eaaf316fe1
commit
3d401c1b3d
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ async function getAudioStreamCodec (path: string, existingProbe?: FfprobeData) {
|
|||
if (audioCodecName === 'opus') return 'opus'
|
||||
if (audioCodecName === 'vorbis') return 'vorbis'
|
||||
if (audioCodecName === 'aac') return 'mp4a.40.2'
|
||||
if (audioCodecName === 'mp3') return 'mp4a.40.34'
|
||||
|
||||
logger.warn('Cannot get audio codec of %s.', path, { audioStream })
|
||||
|
||||
|
|
Loading…
Reference in a new issue