Skip to content

legolabs/openvidu-php-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openvidu-php-rest-api

OpenVidu REST API client written in PHP

Note: PHP >= 7.2 required

A simple PHP implementation to send OpenVidu REST API requests

OpenVidu (https://openvidu.io) is a powerful open source library for secure real-time video stream management and composition. OpenVidu provides a full REST API, and this project aims to create a simple PHP implementation to call them.

An official complete OpenVidu REST API description can be found here: https://docs.openvidu.io/en/latest/reference-docs/REST-API/

Examples

This library is very simple to use. You can istantiate an OpenVidu object, a Request object and then send it through the OpenVidu->send_request method

$ov = new OpenViduClient("https://demos.openvidu.io", "MY_SECRET");
$req = new GetOpenviduConfiguration();
$resp = $ov->send_request($req);

print_r($resp);

Inside the sample example.php script, you can find some examples on how to open, manage and close new sessions with tokens and much more.

About

OpenVidu REST API written in PHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages