availableSpeakers, returns the list of speakers available
isMicrophoneSelectionAllowed, returns a boolean property which is true when the browser/OS supports microphone selection
isSpeakerSelectionAllowed, returns a boolean property which is true when the browser/OS supports speaker selection. It checks available speaker devices and their compatibility via HTMLMediaElement.setSinkId() Please note that the user would have to give permissions ( either through permissionService.requestAllPermissions() or meetingService.joinMeeting() ) beforehand to get accurate information for this property.
selectedMicrophone, returns the current microphone being used to capture audio
selectedSpeaker, returns the current speaker being used to play audio
Allows observing changes to properties. Provide the property which you are interested in and a callback. Whenever the property value changes, you will be notified via the callback.
Usage:
sdk.audioService.observe("availableMicrophones", function() {
console.info("availableMicrophones changed to : ", sdk.audioService.availableMicrophones)
});
The name of the property to observe for changes.
on change event for the property.
Select microphone device to capture audio from. The list of microphones to choose from can be found by calling availableMicrophones
Technical limitation : Not Supported by some browsers. Please check isMicrophoneSelectionAllowed
Select speaker device to play audio from. The list of speakers to choose from can be found by calling availableSpeakers
Technical limitation : Not Supported by some browsers. Please check isSpeakerSelectionAllowed
Generated using TypeDoc
availableMicrophones, returns the list of microphones available