mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Create and inject caption playlist in HLS master
This commit is contained in:
parent
a7be820abc
commit
6e44e7e29a
49 changed files with 1368 additions and 401 deletions
|
@ -104,5 +104,5 @@ async function servePrivateM3U8 (req: express.Request, res: express.Response) {
|
|||
? injectQueryToPlaylistUrls(playlistContent, buildReinjectVideoFileTokenQuery(req, filename.endsWith('master.m3u8')))
|
||||
: playlistContent
|
||||
|
||||
return res.set('content-type', 'application/vnd.apple.mpegurl').send(transformedContent).end()
|
||||
return res.set('content-type', 'application/x-mpegurl; charset=utf-8').send(transformedContent).end()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue