streambeautyplugin

1.0.3 • Public • Published

streambeautyplugin

video stream beauty plugin

usage

import StreamBeautyPlugin from 'streambeautyplugin';

const stream = await navigator.mediaDevices.getUserMedia({audio: true, video: true});
const beautyPlugin = new StreamBeautyPlugin();

// Returns a new stream
const beautyStream = await beautyPlugin.generateBeautyStream(stream);
$video.srcObject = beautyStream;

//  destroy, release memory
beautyPlugin.destroy()

Readme

Keywords

Package Sidebar

Install

npm i streambeautyplugin

Weekly Downloads

2

Version

1.0.3

License

ISC

Unpacked Size

60.1 kB

Total Files

3

Last publish

Collaborators

  • lorne.shi
  • shengunba