# Operation Timeout Start Audio

**URL:** <https://devforum.zoom.us/t/operation-timeout-start-audio/93350>\
**Category:** Video SDK\
**Created:** [August 14, 2023, 10:44am UTC](https://devforum.zoom.us/t/operation-timeout-start-audio/93350 "2023-08-14T10:44:33Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![joss.ygay](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/joss.ygay/32/36681_2.png) [@joss.ygay](https://devforum.zoom.us/u/joss.ygay)\
**Post date:** [August 17, 2023, 9:15am UTC](https://devforum.zoom.us/t/operation-timeout-start-audio/93350/22 "2023-08-17T09:15:19Z")

</div>

Hello @vic.yang ,

We tried adding **await** on **client.init()**, moved **client.getMediaStream** after **client.join** , tested it and it WORKS!

**initZoom()**

```auto
this.zoomClient = ZoomVideo.createClient();

await this.zoomClient.init(
  zmClientInitParams.language,
  zmClientInitParams.dependentAssets,
  zmClientInitParams.initOptions
);

```

**joinZoomSession()**

```auto
await this.zoomClient.join(param1, param2, param3, param4)
  .then(() => {
    // some code
  })
  .catch((error) => {
    console.log(error);
  });

 this.zoomStream = this.zoomClient.getMediaStream();

```

Thank you so much for helping us!  
cc @redenfloyd.cayanan @neiloswald

---

<div class="post-metadata">

**Author:** ![devs2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/devs2/32/44406_2.png) [@devs2](https://devforum.zoom.us/u/devs2)\
**Post date:** [October 4, 2023, 1:58pm UTC](https://devforum.zoom.us/t/operation-timeout-start-audio/93350/23 "2023-10-04T13:58:26Z")

</div>

Hey @vic.yang,

We are also facing this issue. While we don’t wait for the init method to be resolved we also don’t call join right after.

There is at least 2 minutes between init and join.

Any idea for us?

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [October 7, 2023, 3:08am UTC](https://devforum.zoom.us/t/operation-timeout-start-audio/93350/24 "2023-10-07T03:08:31Z")

</div>

Hey @devs2

Could you integrate our client-side telemetry and report the issue to us? It’s very useful and fast way to help us investigate the issue.

> **[Video SDK - web - Service quality](https://developers.zoom.us/docs/video-sdk/web/quality/)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![devs2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/devs2/32/44406_2.png) [@devs2](https://devforum.zoom.us/u/devs2)\
**Post date:** [October 11, 2023, 3:38pm UTC](https://devforum.zoom.us/t/operation-timeout-start-audio/93350/25 "2023-10-11T15:38:24Z")

</div>

Hi @vic.yang . Thanks, didn’t know that was a function. However we cannot use that function due to the SDK giving us timeout errors when we attempt to update. We are locked to version 1.6.2.

From [our other thread:](https://devforum.zoom.us/t/sporadic-video-connections-not-being-established/95190/7)

> Indeed we were able to consistently reproduce the OPERATION\_TIMEOUT error in regards to audio starting.
> 
> Our application requires complete automation. Zero user interaction aside from logging in and selecting which session. After that the user is automatically cycled through meeting rooms. We cannot have user interaction to start audio or video.
> 
> During our testing we found if we roll back to version 1.6.2 of the SDK then the audio OPERATION\_TIMEOUT issue isn’t present.
> 
> What changed between 1.6.2 and above that would effect this behaviour? We’ve checked the changelog and see no mention of this changed behaviour.

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [October 12, 2023, 8:42am UTC](https://devforum.zoom.us/t/operation-timeout-start-audio/93350/26 "2023-10-12T08:42:56Z")

</div>

Hey @devs2

Did you auto-start audio upon joining the session? Did you listen to the `auto-play-audio-failed` event？ For the privacy concern of the browser, the auto-play audio will not be successful.

Thanks  
Vic

[Previous page](https://devforum.zoom.us/t/operation-timeout-start-audio/93350.md?page=1)
