mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
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 === 'opus') return 'opus'
|
||||||
if (audioCodecName === 'vorbis') return 'vorbis'
|
if (audioCodecName === 'vorbis') return 'vorbis'
|
||||||
if (audioCodecName === 'aac') return 'mp4a.40.2'
|
if (audioCodecName === 'aac') return 'mp4a.40.2'
|
||||||
|
if (audioCodecName === 'mp3') return 'mp4a.40.34'
|
||||||
|
|
||||||
logger.warn('Cannot get audio codec of %s.', path, { audioStream })
|
logger.warn('Cannot get audio codec of %s.', path, { audioStream })
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue