定制 thinkawitch/janus-php-api 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

thinkawitch/janus-php-api

最新稳定版本:v0.0.1

Composer 安装命令:

composer require thinkawitch/janus-php-api

包简介

PHP API for Janus gateway

README 文档

README

Simple PHP wrapper for Janus gateway API.

Requirements

  • PHP 8.1+
  • symfony/http-client 6.1+

Installation

composer require thinkawitch/janus-php-api

Limitations

  • synchronous requests http only, no websockets, no rabbitmq

Features

  • Generic api calls
  • Specific calls for textroom, videoroom plugins

Basic usage

use Thinkawitch\JanusApi\JanusHttpClient;
$janus = new JanusHttpClient($apiUrl, $apiSecret);
$janus->createSession();
$textRoom = $janus->attachToTextRoomPlugin($textRoomAdminKey);
$rooms = $textRoom->getRooms();
$textRoom->detach();
$janus->destroySession();

Examples

See the examples directory for more.

统计信息

  • 总下载量: 28
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: unlicense
  • 更新时间: 2023-02-10