Свойство | Тип | Описание | |
---|---|---|---|
$avconv | string | avconv or ffmpeg binary path. | |
$convert | boolean | Enable audio conversion. | |
$curl | string | curl binary path. | |
$curl_params | array | curl parameters. | |
$params | array | youtube-dl parameters. | |
$python | string | python binary path. | |
$rtmpdump | string | rtmpdump binary path. | |
$youtubedl | string | youtube-dl binary path. |
Метод | Описание | |
---|---|---|
__construct ( array $options ) | Config constructor. | |
destroyInstance ( ) : void | Destroy singleton instance. | |
getInstance ( string $yamlfile = 'config.yml' ) : |
Get Config singleton instance from YAML config file. |
public __construct ( array $options ) | ||
$options | array | Options |
public static destroyInstance ( ) : void | ||
Результат | void |
public static getInstance ( string $yamlfile = 'config.yml' ) : |
||
$yamlfile | string | YAML config file name |
Результат |