1.0.8 • Published 3 years ago
@neosjs/h5-camera v1.0.8
H5 摄像机
安装
NPM
npm i @neosjs/h5-camera -S
YARN
yarn add @neosjs/h5-camera
API 接口列表
camera.init(options: <Object>)
camera.startCapture(deviceId: <String>)
camera.stopCapture()
camera.changeDeviceId(deviceId: <String>)
camera.getDeviceLists()
camera.photoShot()
camera.destroy()