From ed93e54480061cd71985b018313d2a8847f222d9 Mon Sep 17 00:00:00 2001 From: shimon Date: Tue, 23 Aug 2022 17:23:29 +0300 Subject: [PATCH] addressing comments --- app/workers/transcoding.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/app/workers/transcoding.php b/app/workers/transcoding.php index 2151bebe1b..26d62a149a 100644 --- a/app/workers/transcoding.php +++ b/app/workers/transcoding.php @@ -29,27 +29,27 @@ class TranscodingV1 extends Worker /** * Rendition Status */ - const STATUS_START = 'started'; - const STATUS_END = 'ended'; - const STATUS_UPLOADING = 'uploading'; - const STATUS_READY = 'ready'; - const STATUS_ERROR = 'error'; + private const STATUS_START = 'started'; + private const STATUS_END = 'ended'; + private const STATUS_UPLOADING = 'uploading'; + private const STATUS_READY = 'ready'; + private const STATUS_ERROR = 'error'; - const STREAM_HLS = 'hls'; - const STREAM_MPEG_DASH = 'dash'; + private const STREAM_HLS = 'hls'; + private const STREAM_MPEG_DASH = 'dash'; - protected string $basePath = '/tmp/'; + private string $basePath = '/tmp/'; //protected string $basePath = '/usr/src/code/tests/tmp/'; - protected string $inDir; + private string $inDir; - protected string $outDir; + private string $outDir; - protected string $outPath; + private string $outPath; - protected string $renditionName; + private string $renditionName; - protected Database $database; + private Database $database; public function getName(): string {