VideoServiceInterface
in
class VideoServiceInterface.
Table of Contents
Methods
- executeApi() : mixed
- failProcessing() : void
- getLiveServerUrl() : string
- getProviderType() : string
- getThumbnailPlayback() : string
- getVideoPlayback() : string
- handleWebhook() : bool
- isValidConfiguration() : bool
- processVideo() : array<string, mixed>
- testConfig() : bool
Methods
executeApi()
public
executeApi(string $apiName[, string $method = 'GET' ][, bool $returnTransfer = false ][, string $postFields = '' ]) : mixed
Parameters
- $apiName : string
- $method : string = 'GET'
- $returnTransfer : bool = false
- $postFields : string = ''
failProcessing()
public
failProcessing(array<string|int, mixed> $params) : void
Parameters
- $params : array<string|int, mixed>
getLiveServerUrl()
public
getLiveServerUrl() : string
Return values
stringgetProviderType()
public
getProviderType() : string
Return values
stringgetThumbnailPlayback()
public
getThumbnailPlayback() : string
Return values
stringgetVideoPlayback()
public
getVideoPlayback() : string
Return values
stringhandleWebhook()
public
handleWebhook(Request $request) : bool
Parameters
- $request : Request
Return values
boolisValidConfiguration()
public
isValidConfiguration() : bool
Return values
boolprocessVideo()
public
processVideo(StorageFile $file) : array<string, mixed>
Parameters
- $file : StorageFile
Return values
array<string, mixed>testConfig()
public
testConfig() : bool