Use master playlist for videojs

This commit is contained in:
Justin Wong
2022-08-17 23:28:32 +08:00
committed by Blake Blackshear
parent 89c04acdff
commit 7c57c8c2da
3 changed files with 3 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ export default function Recording({ camera, date, hour = '00', minute = '00', se
description: `${camera} recording @ ${h.hour}:00.`,
sources: [
{
src: `${apiHost}/vod/${year}-${month}/${day}/${h.hour}/${camera}/index.m3u8`,
src: `${apiHost}/vod/${year}-${month}/${day}/${h.hour}/${camera}/master.m3u8`,
type: 'application/vnd.apple.mpegurl',
},
],