@ezviz/player-plugin-record
TypeScript icon, indicating that this package has built-in type declarations

1.0.1-alpha.2 • Public • Published

@ezuikit/player-plugin-recored

录制视频插件

import EzopenPlayer from '@ezuikit/player-ezopen';
import PlayerRecordPlugin from '@ezuikit/player-plugin-recored';

// 播放地址 url 和 accessToken 从下面地址获取
// https://open.ys7.com/console/device.html
const player = new EzopenPlayer({
    id: "app",
    url: "ezopne player url", 
    accessToken: "accessToken",
    width: 600,
    height: 400,
})

const recordPlugin = new PlayerRecordPlugin(); // 录制插件

player.use(recordPlugin)

recordPlugin.startRecord()

// recordPlugin.stopRecord()

Readme

Keywords

none

Package Sidebar

Install

npm i @ezviz/player-plugin-record

Weekly Downloads

4

Version

1.0.1-alpha.2

License

MIT

Unpacked Size

8.54 kB

Total Files

6

Last publish

Collaborators

  • jbhhzevz
  • babybreath
  • wl25ff
  • yangshuang1991
  • ezviz-openteam
  • liubocheng