# SDKERR\_NO\_PERMISSION for both Audio and Video

**URL:** <https://devforum.zoom.us/t/sdkerr-no-permission-for-both-audio-and-video/68918>\
**Category:** Android\
**Created:** [May 13, 2022, 7:20am UTC](https://devforum.zoom.us/t/sdkerr-no-permission-for-both-audio-and-video/68918 "2022-05-13T07:20:56Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![haider.saleem](https://avatars.discourse-cdn.com/v4/letter/h/6f9a4e/32.png) [@haider.saleem](https://devforum.zoom.us/u/haider.saleem)\
**Post date:** [May 13, 2022, 7:20am UTC](https://devforum.zoom.us/t/sdkerr-no-permission-for-both-audio-and-video/68918/1 "2022-05-13T07:20:56Z")

</div>

**Description**  
Whenever user joins before host then he is unable to start audio or video, on joining “Your video is being recorded” can be heard but no pop up appears, and the moment host join the session then pop up appears and upon accepting user regain the ability to start or stop audio and video recording.

If we turn off recording from host end, then it works fine if user joins before host.

**Which Android Meeting SDK version?**  
zoom-sdk-android-5.10.1.5184 & zoom-sdk-android-5.10.3.5614  
**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Turn on recording feature for a session
2. Join from user android app before host
3. Audio/ Video disabled will be disabled

**Smartphone (please complete the following information):**

- Samsung Galaxy s9
- OS: Android 9

**Additional context**  
Was working fine in older version of sdk, probably in zoom-sdk-android-5.0.24433.0616, need to fix asap.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 13, 2022, 7:07pm UTC](https://devforum.zoom.us/t/sdkerr-no-permission-for-both-audio-and-video/68918/2 "2022-05-13T19:07:21Z")

</div>

Hi @haider.saleem,

It sounds like you are joining a meeting before the host where the ability to join before the host is disabled. When you are waiting for the host to start the meeting, you will not be able to send your audio or video. More information on this feature can be found [here](https://support.zoom.us/hc/en-us/articles/202828525-Allow-participants-to-join-before-host).

That being said, I’m not sure why you are hearing the recording message while on the join before host screen, as this is not a meeting that can be recorded. Can you please clarify how you are enabling/disabling recording?

Thanks!

---

<div class="post-metadata">

**Author:** ![haider.saleem](https://avatars.discourse-cdn.com/v4/letter/h/6f9a4e/32.png) [@haider.saleem](https://devforum.zoom.us/u/haider.saleem)\
**Post date:** [May 16, 2022, 6:05am UTC](https://devforum.zoom.us/t/sdkerr-no-permission-for-both-audio-and-video/68918/3 "2022-05-16T06:05:33Z")

</div>

Hi Jon,

Joining before the host is not disabled, and if I use old version of sdk like zoom-sdk-android-5.0.24433.0616 then I’m able to start audio/video before the joining of the host.

The issue is only with latest versions of sdk, and also latest sdks work fine with those sessions which have recording disabled.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 16, 2022, 9:29pm UTC](https://devforum.zoom.us/t/sdkerr-no-permission-for-both-audio-and-video/68918/4 "2022-05-16T21:29:36Z")

</div>

Hi @haider.saleem,

v5.0.2 of the SDK is quite old, so it is entirely possible that the behavior of the Zoom platform has changed since then. In the latest version of the SDK, you need to be in a meeting to transmit audio/video. As far as I can tell, the behavior you are seeing is expected.

The behavior changing based on whether recording is enabled does not sound like expected behavior, but we still need the information requested in my last reply. Can you please confirm how you are enabling/disabling recording?

Thanks!

---

<div class="post-metadata">

**Author:** ![haider.saleem](https://avatars.discourse-cdn.com/v4/letter/h/6f9a4e/32.png) [@haider.saleem](https://devforum.zoom.us/u/haider.saleem)\
**Post date:** [May 17, 2022, 12:56pm UTC](https://devforum.zoom.us/t/sdkerr-no-permission-for-both-audio-and-video/68918/5 "2022-05-17T12:56:17Z")

</div>

Have a look here.

 ![Screenshot 2022-05-17 at 5.41.39 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/0/407943e9da81bd959a8250b83dcb2c72e156abc9.png)

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 18, 2022, 6:56pm UTC](https://devforum.zoom.us/t/sdkerr-no-permission-for-both-audio-and-video/68918/6 "2022-05-18T18:56:19Z")

</div>

Hi @haider.saleem,

Sorry, but it still is not clear what you are toggling when you test this. Is it just the local recording setting? Cloud recording? Both?

Thanks!

---

<div class="post-metadata">

**Author:** ![haider.saleem](https://avatars.discourse-cdn.com/v4/letter/h/6f9a4e/32.png) [@haider.saleem](https://devforum.zoom.us/u/haider.saleem)\
**Post date:** [May 19, 2022, 6:47am UTC](https://devforum.zoom.us/t/sdkerr-no-permission-for-both-audio-and-video/68918/7 "2022-05-19T06:47:07Z")

</div>

Hi Jon,

Cloud recording is what we are using right now, since the app is live we can’t turn it off.  
However, on another account where we don’t have cloud recording feature there sdk works fine with session.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 19, 2022, 7:17pm UTC](https://devforum.zoom.us/t/sdkerr-no-permission-for-both-audio-and-video/68918/8 "2022-05-19T19:17:16Z")

</div>

Hi @haider.saleem,

Thanks for clarifying that you are using separate accounts to test. Knowing this, it seems very likely that one account has join before host enabled and the other does not. As previously mentioned, it is not possible to transmit audio/video when you are waiting for the host to start the meeting.

Thanks!

---

<div class="post-metadata">

**Author:** ![haider.saleem](https://avatars.discourse-cdn.com/v4/letter/h/6f9a4e/32.png) [@haider.saleem](https://devforum.zoom.us/u/haider.saleem)\
**Post date:** [May 20, 2022, 5:21am UTC](https://devforum.zoom.us/t/sdkerr-no-permission-for-both-audio-and-video/68918/9 "2022-05-20T05:21:13Z")

</div>

Hi,

But we have disabled waiting room, and besides that we have same setting (Except cloud recording) in both accounts and also it works fine when we use old sdk with both accounts.

If there’s no waiting room then waiting for host to transmit own audio/video is meaningless, and if there is any such kind of changes are made then please provide the reference.

Thank you.

---

<div class="post-metadata">

**Author:** ![haider.saleem](https://avatars.discourse-cdn.com/v4/letter/h/6f9a4e/32.png) [@haider.saleem](https://devforum.zoom.us/u/haider.saleem)\
**Post date:** [May 23, 2022, 1:27pm UTC](https://devforum.zoom.us/t/sdkerr-no-permission-for-both-audio-and-video/68918/10 "2022-05-23T13:27:29Z")

</div>

Hi @jon.zoom any updates?

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 25, 2022, 8:56pm UTC](https://devforum.zoom.us/t/sdkerr-no-permission-for-both-audio-and-video/68918/11 "2022-05-25T20:56:28Z")

</div>

Hi @haider.saleem,

As mentioned previously this is expected behavior when you are waiting to join the meeting. The join before host setting is different from the waiting room. Once you are in the meeting, you should be able to transmit audio/video to other users in the meeting without any issues.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 25, 2022, 6:56am UTC](https://devforum.zoom.us/t/sdkerr-no-permission-for-both-audio-and-video/68918/12 "2022-06-25T06:56:44Z")

</div>

Closed on June 25, 2022, 6:56am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
