How to Detect Microphone Audio Drop on Chrome
Objective
Detecting a microphone audio drop when using the Vonage Video API on Chrome.
Applies To
- Chrome
- Audio Quality
Procedure
As of the release of JavaScript SDK v2.10, the following code snippet can be implemented to detect when audio is dropped in Chrome:
OT.initPublisher(element, opts, function(err) { if (err.name === 'OT_CHROME_MICROPHONE_ACQUISITION_ERROR') { alert('Failed to acquire microphone. Please completely quit and restart your browser'); } });
Comments
0 comments
Article is closed for comments.