This commit is contained in:
shimon
2022-07-25 11:37:23 +03:00
parent fbe63a884e
commit 076f333f77
10 changed files with 269 additions and 7268 deletions
+1 -1
View File
@@ -380,7 +380,7 @@ class TranscodingV1 extends Worker
foreach ($subtitles as $subtitle) {
$sub = new HLSSubtitle($subtitle['path'], $subtitle['name'], $subtitle['code']);
$sub->default();
$sub->setM3u8Uri($this->getHlsBaseUri() . $this->args['videoId'] . '_subtitles_' . $subtitle['code'] . '.m3u8');
///$sub->setM3u8Uri($this->getHlsBaseUri() . $this->args['videoId'] . '_subtitles_' . $subtitle['code'] . '.m3u8');
$hls->subtitle($sub);
}