mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-03 22:44:28 +00:00
fix(share): prevent unwatermarked HLS playback on public shares before transcode completion (#439)
This commit is contained in:
@@ -84,7 +84,7 @@ async function applyWatermarkToAssetMedia(
|
||||
url: `/api/shares/${shareId}/files/${asset.id}/m3u8/master.m3u8${pwQuery}`,
|
||||
resolutions: watermarkMedia.hls.resolutions,
|
||||
}
|
||||
} else if (watermarkMedia) {
|
||||
} else {
|
||||
updatedMedia.isHls = false
|
||||
delete updatedMedia.hls
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user