# Web sdk - Connecting the user with computer audio automatically when joining

**URL:** <https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682>\
**Category:** Web\
**Created:** [December 8, 2018, 7:04pm UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682 "2018-12-08T19:04:46Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![shahar](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@shahar](https://devforum.zoom.us/u/shahar)\
**Post date:** [December 8, 2018, 7:04pm UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/1 "2018-12-08T19:04:46Z")

</div>

When the web sdk loads, it first shows a dialog where it asks the user to connect audio. I thought that for meetings created with `audio:'voip'` it will be gone and connected automatically with computer audio since there’s no other choice… however the user is still asked to click “join computer audio” button.

What can I do to skip this step and connect the user automatically with their computer audio?

 ![38%20PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/a2b9fc894350d1e611894bcf9e2cfd92a440693f.jpeg)

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [December 11, 2018, 7:03pm UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/2 "2018-12-11T19:03:34Z")

</div>

Hi @shahar,

Right now the Web SDK does not have the capability to remove the step to join audio by computer. We’ll inform our Engineers about this.

---

<div class="post-metadata">

**Author:** ![wongpang827](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/wongpang827/32/1401_2.png) [@wongpang827](https://devforum.zoom.us/u/wongpang827)\
**Post date:** [August 16, 2019, 1:49am UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/3 "2019-08-16T01:49:16Z")

</div>

Hi @michael_p.zoom,

I am facing the same problem, any update about this item?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 16, 2019, 4:15pm UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/4 "2019-08-16T16:15:16Z")

</div>

Hey @wongpang827 thanks for using Zoom.

You can skip this by calling the `showJoinAudioFunction` function.

```auto
ZoomMtg.showJoinAudioFunction({
	show: false
 });

```

“Show/Hide join audio function”

Put this function inside of the `ZoomMtg.join` success callback.

Docs here: [https://zoom.github.io/sample-app-web/ZoomMtg.html#showJoinAudioFunction](https://zoom.github.io/sample-app-web/ZoomMtg.html#showJoinAudioFunction)

You can also configure more options on `ZoomMtg.init`, [https://zoom.github.io/sample-app-web/ZoomMtg.html#init](https://zoom.github.io/sample-app-web/ZoomMtg.html#init)

Let me know if this helps!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![wongpang827](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/wongpang827/32/1401_2.png) [@wongpang827](https://devforum.zoom.us/u/wongpang827)\
**Post date:** [August 20, 2019, 5:45am UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/5 "2019-08-20T05:45:09Z")

</div>

Hi @tommy,

I have tried the showJoinAudioFunction to hide the panel, but there will be no audio after joining the meeting. Any other option to join audio by computer automatically without user interaction?

Thanks,  
wongpang827

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 20, 2019, 7:50pm UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/6 "2019-08-20T19:50:07Z")

</div>

Hey @wongpang827,

As of now we do not have that feature on the Web SDK.

Although, as a work around, you could use the Join Meeting via Web Client URL, and pass in the `prefer=1` query param to automatically join a meeting with computer audio. If you want to also pass in a default name for the user joining, use the `un=base64EncodeName` query param.

Here is an example:

`https://zoom.us/wc/{{ MeetingID }}/join?prefer=1&un=dG9tbXk=`

You can then embed this in an iFrame on your site to mirror the Web SDK functionality:

```auto
<iframe src="https://zoom.us/wc/{{ MeetingID }}/join?prefer=1&un=dG9tbXk=" width="1000" height="500" sandbox="allow-same-origin allow-forms allow-scripts" allow="microphone; camera"></iframe>

```

Here is a demo of how it looks:

 ![](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/8/8463d43de4b4409d93aef8208b2fe27e4c7746ef.gif)

Let me know if this helps!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![rory.street](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rory.street/32/1619_2.png) [@rory.street](https://devforum.zoom.us/u/rory.street)\
**Post date:** [August 29, 2019, 9:36am UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/7 "2019-08-29T09:36:37Z")

</div>

One work around I have found (a bit of a hack) is to put this in after the success call on ZoomMtg.join

setTimeout(function () {  
var startButton = document.getElementById(“pc-join”);  
startButton.click();  
}, 3000);

I know its not ideal but it automatically clicks the join button for you.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 29, 2019, 3:34pm UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/8 "2019-08-29T15:34:00Z")

</div>

Thanks for posting this @rory.street!

-Tommy

---

<div class="post-metadata">

**Author:** ![harald.glanzer](https://avatars.discourse-cdn.com/v4/letter/h/eada6e/32.png) [@harald.glanzer](https://devforum.zoom.us/u/harald.glanzer)\
**Post date:** [November 21, 2019, 10:00am UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/9 "2019-11-21T10:00:18Z")

</div>

hi rory,

do you have audio after this automatic pc-join - click?

thx  
hari

---

<div class="post-metadata">

**Author:** ![harald.glanzer](https://avatars.discourse-cdn.com/v4/letter/h/eada6e/32.png) [@harald.glanzer](https://devforum.zoom.us/u/harald.glanzer)\
**Post date:** [November 21, 2019, 11:31am UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/10 "2019-11-21T11:31:26Z")

</div>

found the problem: i set the timeoutfunction with the $(document.querySelector("#pc-join")).click();  
**inside** the ZoomMtg.join - success-callback - which is not working

installing the timeoutfunction in my ‘main’ js routine - directly after calling zoom-init - works fine, i.e. audio is working

FYI

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [November 21, 2019, 5:59pm UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/11 "2019-11-21T17:59:07Z")

</div>

Hey @harald.glanzer,

Happy to hear it’s working! 🙂

Let us know if you have any other questions!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![harald.glanzer](https://avatars.discourse-cdn.com/v4/letter/h/eada6e/32.png) [@harald.glanzer](https://devforum.zoom.us/u/harald.glanzer)\
**Post date:** [November 22, 2019, 7:30am UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/12 "2019-11-22T07:30:08Z")

</div>

@tommy: nevertheless, we would really appreciate if your SDK would support this ‘join by audio’.

with this actual hack ($(document.querySelector("#pc-join")).click()😉 i have to wait about 10 seconds after joining a room until i can ‘join audio’ via JS. if i simulate this click earlier, i wont have audio again

thx  
hari

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [November 22, 2019, 5:39pm UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/13 "2019-11-22T17:39:17Z")

</div>

Hey @harald.glanzer,

We will add this as a feature request and work on implementing it in a future release! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![alessandro.feliziani](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alessandro.feliziani/32/44487_2.png) [@alessandro.feliziani](https://devforum.zoom.us/u/alessandro.feliziani)\
**Post date:** [January 8, 2020, 5:04am UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/14 "2020-01-08T05:04:36Z")

</div>

Hi, I would also appreciate the possibility to join audio computer automatically, without any user interaction. Any preview on when this feature will be available?  
Thanks,  
Alessandro

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [January 8, 2020, 9:30pm UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/15 "2020-01-08T21:30:22Z")

</div>

Hey @alessandro.feliziani,

Most likely Q2 when our fully customizable Web SDK is released.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![vijetha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vijetha/32/2838_2.png) [@vijetha](https://devforum.zoom.us/u/vijetha)\
**Post date:** [February 27, 2020, 1:41pm UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/16 "2020-02-27T13:41:43Z")

</div>

Hello Tommy when I am trying to ‘Join Audio by Computer’ from Mobile browser the button is not working. Can you help ?

Also any updates on automatically joining computer audio will highly appreciated

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [February 27, 2020, 4:42pm UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/17 "2020-02-27T16:42:40Z")

</div>

Hey @vijetha, thanks for posting and using Zoom!

May I ask what browser and device you are using? Screenshots would also be helpful.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![vijetha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vijetha/32/2838_2.png) [@vijetha](https://devforum.zoom.us/u/vijetha)\
**Post date:** [March 4, 2020, 7:39am UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/18 "2020-03-04T07:39:16Z")

</div>

![Screenshot 2020-03-04 at 1.08.01 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/a/a83ce9f51021895621a5a50aa8f677bab3adfbe9.png)

@tommy can you help, this is the screenshot. I am trying to integrate this into another page that is a Vue app SPA.

> [@tommy](#):
>
> ZoomMtg.showJoinAudioFunction({ show: false });

with this method, it’s just hiding the icon but not able to switch on the audio.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 4, 2020, 4:58pm UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/19 "2020-03-04T16:58:38Z")

</div>

Hey @vijetha,

Can you please try serving your website over `https`.

That should fix the issue:

> [@I have integaretd zoom web sdk in website but error is showing so how to resolve it](https://devforum.zoom.us/t/i-have-integaretd-zoom-web-sdk-in-website-but-error-is-showing-so-how-to-resolve-it/6134/13):
>
> Hey @webtraceliveclasses, Can you confirm you are allowing audio in the browser settings? Also is your site being served over https? [29%20AM] Thanks, Tommy

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![vijetha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vijetha/32/2838_2.png) [@vijetha](https://devforum.zoom.us/u/vijetha)\
**Post date:** [March 13, 2020, 4:36am UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/20 "2020-03-13T04:36:34Z")

</div>

Thanks Tommy. Another quick question I am not able to find an API to Start the Zoom meeting ( Already Created) from my Application . Any help ?

[Next page](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682.md?page=2)
