vitalchat

2.0.11 • Public • Published

vitalchat-node

Setup

var vitalchat = require('vitalchat');
var client = new vitalchat({
    host: '',
    key: '',
    secret: ''
});

Get Devices

var devices = await client.devices();
console.log(devices);
var data = await client.enter({
    device: '',
    name: '',
});
console.log(data);

Set Privacy Mode

await client.privacy({
    device: '',,
    privacy: true
});

Capture Screen

let image = await client.screen_capture({
    device: ''
});
console.log(image);

Get Last Screen Capture

var image = await client.screen({
    device: ''
});
console.log(image);

Set Custom URL

await client.custom_url({
    device: '',
    url: 'https://google.com',
});

Set Custom URL Call Window Location

await client.custom_url_window_location({
    device: '',
    left: '0',
    top: '0',
    width: '0',
    height: '0',
});

Subscribe to Events

client.on('event', (event)=>{
 console.log(event);
});
client.listen();

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i vitalchat

    Weekly Downloads

    34

    Version

    2.0.11

    License

    ISC

    Unpacked Size

    11.7 kB

    Total Files

    9

    Last publish

    Collaborators

    • ghafran
    • vitalchat