This is an example macro for controlling individual mics inputs on Cisco Collab Devices. This enables users to change the gain and toggle the mute for individual microphone inputs availabe on the Deivce.
This macro creates a UI Extension panel based on the config you provide. Therefore allowing you to specify which microphones you which to make available to control.
const config = {
button: {
name: 'Mic Controls', // Name of the Button and Panel Page
icon: 'Microphone' // One of the supported native icons name
},
mics: [1, 2, 3, 4], // Mics which you wish to control
panelId: 'micController' // PanelId is used for the base panel and widget Ids
}- RoomOS 11.24.x or above Webex Device.
- Web admin access to the device to upload the macro.
- Download the
mic-controller.jsfile and upload it to your Webex Room devices Macro editor via the web interface. - Configure the Macro by changing the initial values, there are comments explaining each one.
const config = { button: { name: 'Mic Controls', // Name of the Button and Panel Page icon: 'Microphone' // One of the supported native icons name }, mics: [1, 2, 3, 4], // Mics which you wish to control panelId: 'micController' // PanelId is used for the base panel and widget Ids }
- Enable the Macro on the editor.
*For more demos & PoCs like this, check out our Webex Labs site.
All contents are licensed under the MIT license. Please see license for details.
Everything included is for demo and Proof of Concept purposes only. Use of the site is solely at your own risk. This site may contain links to third party content, which we do not warrant, endorse, or assume liability for. These demos are for Cisco Webex use cases, but are not Official Cisco Webex Branded demos.
Please contact the WXSD team at wxsd@external.cisco.com for questions. Or, if you're a Cisco internal employee, reach out to us on the Webex App via our bot (globalexpert@webex.bot). In the "Engagement Type" field, choose the "API/SDK Proof of Concept Integration Development" option to make sure you reach our team.
