From 33d942c3566d5901d249d6f744a65f1287bcccef Mon Sep 17 00:00:00 2001 From: shimon Date: Mon, 11 Jul 2022 13:51:47 +0300 Subject: [PATCH] hls master name change --- app/controllers/api/video.php | 2 +- composer.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/api/video.php b/app/controllers/api/video.php index 2b813457d9..3980f5ebee 100644 --- a/app/controllers/api/video.php +++ b/app/controllers/api/video.php @@ -423,7 +423,7 @@ App::get('/v1/video/:videoId/:stream/:profile/:fileName') 'bandwidth' => $rendition->getAttribute('videoBitrate') + $rendition->getAttribute('audioBitrate'), 'resolution' => $rendition->getAttribute('width') . 'X' . $rendition->getAttribute('height'), 'name' => $rendition->getAttribute('name'), - 'uri' => $baseUrl . $rendition->getAttribute('name') . '/' . $rendition->getAttribute('videoId') . '_' . $rendition->getAttribute('name') . '.m3u8', + 'uri' => $baseUrl . $rendition->getAttribute('name') . '/' . $rendition->getAttribute('videoId') . '_' . $rendition->getAttribute('height') . 'p.m3u8', 'subs' => !empty($paramsSubtitles) ? ' SUBTITLES="subs"' : '', ]; } diff --git a/composer.lock b/composer.lock index d53806d5ad..bb968dfa25 100644 --- a/composer.lock +++ b/composer.lock @@ -6318,5 +6318,5 @@ "platform-overrides": { "php": "8.0" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.2.0" }