+ private getSha256SegmentsObjectStorageUrl (video: MVideo) {
+ if (video.hasPrivateStaticPath() && CONFIG.OBJECT_STORAGE.PROXY.PROXIFY_PRIVATE_FILES === true) {
+ return getHLSPrivateFileUrl(video, this.segmentsSha256Filename)
+ }
+
+ return getHLSPublicFileUrl(this.segmentsSha256Url)
+ }
+
+ // ---------------------------------------------------------------------------
+