var vitalchat = require('vitalchat');
var client = new vitalchat({
host: '',
key: '',
secret: ''
});
var devices = await client.devices();
console.log(devices);
var data = await client.enter({
device: '',
name: '',
});
console.log(data);
await client.privacy({
device: '',,
privacy: true
});
let image = await client.screen_capture({
device: ''
});
console.log(image);
var image = await client.screen({
device: ''
});
console.log(image);
await client.custom_url({
device: '',
url: 'https://google.com',
});
await client.custom_url_window_location({
device: '',
left: '0',
top: '0',
width: '0',
height: '0',
});
client.on('event', (event)=>{
console.log(event);
});
client.listen();