we are import by this
import { Configuration } from 'plugins/cordova-plugin-voxeet/www/types';
import * as VoxeetSDK from 'plugins/cordova-plugin-voxeet/www/VoxeetSDK';
we declare like this
const configurations = {
actionBar: {
displayMute: false,
displaySpeaker: false,
displayCamera: false,
displayScreenShare: true,
displayLeave: true
},
};
we try to set like this
VoxeetSDK.setUIConfiguration(configurations).then((res: any) => {
// You've joined the conference
console.log('UIConfiguration=====');
console.log(res);
}).catch((err: any) => {
// There was an error
console.log(err);
})
but at the end there is no response from voxeet
we are import by this import { Configuration } from 'plugins/cordova-plugin-voxeet/www/types'; import * as VoxeetSDK from 'plugins/cordova-plugin-voxeet/www/VoxeetSDK';
we declare like this const configurations ={
actionBar: {
displayMute: false,
displaySpeaker: false,
displayCamera: false,
displayScreenShare: true,
displayLeave: true
},
};
we try to set like this
VoxeetSDK.setUIConfiguration(configurations).then((res: any) => { // You've joined the conference console.log('UIConfiguration====='); console.log(res); }).catch((err: any) => { // There was an error