changes verto bridge. WIP

This commit is contained in:
gcampes 2017-10-12 12:04:34 -03:00
parent 6b44504e5d
commit 5ad95faffc

View File

@ -17,17 +17,10 @@ export default class VertoBridge extends BaseAudioBridge {
window.vertoExitAudio();
}
joinAudio() {
window.vertoJoinMicrophone(
'remote-media',
this.voiceBridge,
this.vertoUsername,
null,
);
}
joinAudio({ isListenOnly }) {
const vertoJoin = isListenOnly ? 'vertoJoinListenOnly' : 'vertoJoinMicrophone';
joinMicrophone() {
window.vertoJoinMicrophone(
window[vertoJoin](
'remote-media',
this.voiceBridge,
this.vertoUsername,