cordova-plugin-ubibot-camera-stream

ubibot-camera-stream


Keywords
ecosystem:cordova, cordova-ios, cordova, plugin, ubibot
License
ISC
Install
npm install cordova-plugin-ubibot-camera-stream@1.0.3

Documentation

cordova-plugin-ubibot-camera-stream

UbibotCameraStream

The UbibotCameraStream is to get the camera stream.

⚠️ Report any issues on the UbibotCameraStream issue tracker

Installation

This installation method requires cordova 5.0+

cordova plugin add cordova-plugin-ubibot-camera-stream

It possible to install via repo url directly.

cordova plugin add https://github.com/david120383/ubibot-camera-stream.git

Methods

// [UID,account,pwd]
let arr = ['***', '***', '***'];

// start get camera stream
cordova.plugins.ubibot.getCameraStream(arr, res => {
  console.log(res);
}, err => {
  console.log(err);
});
// stop get camera stream
cordova.plugins.ubibot.stopCameraStream('stopCameraStream', res => {
  console.log(res);
}, err => {
  console.log(err);
});
// get version
cordova.plugins.ubibot.getVersion('getVersion', res => {
  console.log(res);
}, err => {
  console.log(err);
});

Supported Platforms

  • iOS
  • Android