mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-22 16:51:20 +00:00

- tempfile uniqueness ensures that each process lives in its independent context - add writable/temp folder to store video clips temporary resources - add videoClipWorkers config to Admin for specifying the number of ffmpeg processes to run in parallel - update video clip preview background to better suit the end result
25 lines
673 B
PHP
25 lines
673 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Modules\Admin\Config;
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
|
|
|
class Admin extends BaseConfig
|
|
{
|
|
/**
|
|
* --------------------------------------------------------------------------
|
|
* Admin gateway
|
|
* --------------------------------------------------------------------------
|
|
* Defines a base route for all admin pages
|
|
*/
|
|
public string $gateway = 'cp-admin';
|
|
|
|
/**
|
|
* Number of maximum ffmpeg processes to spawn in parallel when generating video clips. Processes are instance wide,
|
|
* meaning that they are shared across all podcasts and episodes.
|
|
*/
|
|
public int $videoClipWorkers = 2;
|
|
}
|