0.1.4 • Published 2 years ago
live-player-react v0.1.4
Quick Start
安装
npm install live-cat-react --save
或者
yarn add live-cat-react
使用
import LivePlayer from "live-cat-react";
<LivePlayer :appKey="xxxxx" />
参数
名称 | 类型 | 默认 | 描述 |
---|---|---|---|
appKey | String | '' | 应用 key |
address | String | https://app.3dcat.live | 地址 |
appSecret | String | '' | 密钥 |
getLauncher | ()=>{} | - | 返回 Launcher |
getPlayer | ()=>{} | - | 返回 Player |
getConnection | ()=>{} | - | 返回 Connection |