Correctly fix s3 live sync
This commit is contained in:
parent
bcdfd87906
commit
ec720affe9
1 changed files with 3 additions and 1 deletions
|
@ -13,6 +13,7 @@ import {
|
||||||
removeObject,
|
removeObject,
|
||||||
removeObjectByFullKey,
|
removeObjectByFullKey,
|
||||||
removePrefix,
|
removePrefix,
|
||||||
|
storeContent,
|
||||||
storeObject,
|
storeObject,
|
||||||
updateObjectACL,
|
updateObjectACL,
|
||||||
updatePrefixACL
|
updatePrefixACL
|
||||||
|
@ -43,7 +44,8 @@ function storeHLSFileFromPath (playlist: MStreamingPlaylistVideo, path: string)
|
||||||
}
|
}
|
||||||
|
|
||||||
function storeHLSFileFromContent (playlist: MStreamingPlaylistVideo, path: string, content: string) {
|
function storeHLSFileFromContent (playlist: MStreamingPlaylistVideo, path: string, content: string) {
|
||||||
return storeObject({
|
return storeContent({
|
||||||
|
content,
|
||||||
inputPath: path,
|
inputPath: path,
|
||||||
objectStorageKey: generateHLSObjectStorageKey(playlist, basename(path)),
|
objectStorageKey: generateHLSObjectStorageKey(playlist, basename(path)),
|
||||||
bucketInfo: CONFIG.OBJECT_STORAGE.STREAMING_PLAYLISTS,
|
bucketInfo: CONFIG.OBJECT_STORAGE.STREAMING_PLAYLISTS,
|
||||||
|
|
Loading…
Reference in a new issue