VideoWorker
class VideoWorker extends BaseWorker
Constants
| VIDEO_QUALITY_HD |
|
| VIDEO_QUALITY_SD |
|
Properties
| SystemWorkerController | $mod | from BaseWorker |
Methods
No description
No description
No description
No description
No description
Sends a request containing the callback URI in order to test, whether the callback can be called from the worker back to XELOS.
No description
Fetches the package max length from the environment variables (most likely the Docker environment) and calculates the length according to the unit.
No description
Fetches the package_max_length setting from the video worker instance used for comparison with the local setting.
Retrieve current worker stats Currently this is primarily based upon Openswoole (see https://openswoole.com/docs/modules/swoole-server-stats )
No description
No description
No description
Details
in
BaseWorker at line 15
__construct(SystemWorkerController $mod)
No description
in
BaseWorker at line 81
BaseWorker
applyXELOSConfigurationParameters()
No description
at line 139
bool
downloadConvertedVideo(string $fileDownloadPath, string $quality)
No description
at line 146
bool
downloadSubtitles(string $fileDownloadPath, string $fileId)
No description
at line 104
array|null
encodeVideo()
No description
at line 122
array
generatePreviewImages(string $destinationFolder)
No description
at line 160
Base
getApiClient()
No description
in
BaseWorker at line 27
string|null
getApiHost()
No description
in
BaseWorker at line 143
array|null
getCallbackCheckResult(string $callbackUri, string|null $bearerToken = null)
Sends a request containing the callback URI in order to test, whether the callback can be called from the worker back to XELOS.
at line 167
static string
getIconClass()
No description
in
BaseWorker at line 128
protected int|null
getLocalPackageMaxLength()
Fetches the package max length from the environment variables (most likely the Docker environment) and calculates the length according to the unit.
in
BaseWorker at line 70
string
getName()
No description
at line 54
array
getVideoMetadata(string|null $quality = null)
No description
in
BaseWorker at line 19
string
getWorkerID()
No description
in
BaseWorker at line 115
protected int
getWorkerPackageMaxLength()
Fetches the package_max_length setting from the video worker instance used for comparison with the local setting.
in
BaseWorker at line 157
array
getWorkerRequestLog()
Returns the logs of worker requests.
in
BaseWorker at line 57
array
getWorkerStats()
Retrieve current worker stats Currently this is primarily based upon Openswoole (see https://openswoole.com/docs/modules/swoole-server-stats )
in
BaseWorker at line 36
bool
isWorkerAvailable()
Can we connect to the worker service / container?
at line 92
bool
savePreviewImage(string $saveTargetFile)
No description
at line 153
array|null
setCallbackParams(string $callbackUri, string|null $bearerToken = null)
No description
at line 69
string|null
uploadVideoFile(string $pathToVideoFile)
No description