Documentation

PlugNmeet
in package

Table of Contents

Properties

$algo  : string
$apiKey  : string
$apiSecret  : string
$defaultPath  : string
$serverUrl  : string

Methods

__construct()  : mixed
createRoom()  : CreateRoomResponse
Create new room
decodeJWTData()  : stdClass
deleteAnalytics()  : DeleteAnalyticsResponse
To delete analytics
deleteRecordings()  : DeleteRecordingResponse
To delete recording
endRoom()  : EndRoomResponse
End active room
fetchAnalytics()  : FetchAnalyticsResponse
To fetch analytics
fetchPastRoomsInfo()  : FetchPastRoomsResponse
Get all past rooms
fetchRecordings()  : FetchRecordingsResponse
To fetch recordings
generateUuid4()  : string
Generate UUID v4 random string
getActiveRoomInfo()  : GetActiveRoomInfoResponse
Get active room information
getActiveRoomsInfo()  : GetActiveRoomsInfoResponse
Get all active rooms
getAnalyticsDownloadToken()  : AnalyticsDownloadTokenResponse
Generate token to download analytics
getClientFiles()  : ClientFilesResponses
getJoinToken()  : GenerateJoinTokenResponse
Generate join token
getJWTencodedData()  : string
getRecordingDownloadToken()  : RecordingDownloadTokenResponse
Generate token to download recording
getRecordingInfo()  : RecordingInfoResponse
To get recording info
getUUID()  : string
Generate UUID random string
isRoomActive()  : IsRoomActiveResponse
To check if room is active or not
sendRequest()  : stdClass

Properties

$defaultPath

protected string $defaultPath = "/auth"

Methods

__construct()

public __construct(mixed $serverUrl, mixed $apiKey, mixed $apiSecret) : mixed
Parameters
$serverUrl : mixed

plugNmeet server URL

$apiKey : mixed

plugNmeet API_Key

$apiSecret : mixed

plugNmeet API_Secret

decodeJWTData()

public decodeJWTData(string $raw[, string $algo = "HS256" ]) : stdClass
Parameters
$raw : string
$algo : string = "HS256"
Return values
stdClass

generateUuid4()

Generate UUID v4 random string

public static generateUuid4() : string
Return values
string

getJWTencodedData()

public getJWTencodedData(array<string|int, mixed> $payload, int $validity[, string $algo = "HS256" ][, array<string|int, mixed> $head = [] ]) : string
Parameters
$payload : array<string|int, mixed>
$validity : int

in seconds

$algo : string = "HS256"
$head : array<string|int, mixed> = []
Return values
string

getUUID()

Generate UUID random string

public getUUID() : string
Return values
string

sendRequest()

protected sendRequest(mixed $path, array<string|int, mixed> $body) : stdClass
Parameters
$path : mixed
$body : array<string|int, mixed>
Return values
stdClass

        
On this page

Search results