# Web Meeting SDK MediaCapturePermission not working

**URL:** <https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167>\
**Category:** Web\
**Created:** [August 9, 2023, 1:34pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167 "2023-08-09T13:34:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![bharat.bhadresha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bharat.bhadresha/32/45714_2.png) [@bharat.bhadresha](https://devforum.zoom.us/u/bharat.bhadresha)\
**Post date:** [August 9, 2023, 1:34pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/1 "2023-08-09T13:34:27Z")

</div>

**Description**  
Web Meeting SDK is returning error when trying to call the sdk api

```auto
ZoomMtg.mediaCapturePermission({
    operate: 'request',
    success: console.log,
    error: console.error
  });

```

**Browser Console Error**

```auto
{"method":"mediaCapturePermission","status":false,"errorCode":1,"errorMessage":"not support grant local record permissin","result":null}

```

**Which Web Meeting SDK version?**  
2.15.0

**Meeting SDK Code Snippets**

```auto
ZoomMtg.mediaCapturePermission({
    operate: 'request',
    success: console.log,
    error: console.error
  });

```

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Join the meeting using web sdk
2. Run the provided code in browser console
3. See error

**Screenshots**  
Screenshot of trying the code on sample app

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/1/d181b3a2ae45dfc4e6456fb72ecfc69dea43d638.png)

**Troubleshooting Routes**  
I tested using the sample app ([GitHub - zoom/meetingsdk-web-sample: Zoom Meeting SDK web sample](https://github.com/zoom/meetingsdk-web-sample))

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

- Device: Dell Laptop
- OS: Ubuntu 22
- Browser: Chromium/ Firefox
- Browser Version:
  - Chromium:115.0.5790.110 (Official Build) snap (64-bit)
  - Firefox: 116.0.2

---

<div class="post-metadata">

**Author:** ![amalwa](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@amalwa](https://devforum.zoom.us/u/amalwa)\
**Post date:** [August 9, 2023, 8:44pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/2 "2023-08-09T20:44:31Z")

</div>

This is the same behavior with the Component view of the Meeting SDK (Web),.

**Description**  
Web Meeting SDK with component view is returning error when trying to call the SDK API``

```auto
try {
    await this.zoomClient.mediaCapturePermission("request");
} catch (e) {
    console.log(e);
}

```

**Browser Console Error**

```auto
not support

```

**Which Web Meeting SDK version?**  
2.15.0

---

<div class="post-metadata">

**Author:** ![amalwa](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@amalwa](https://devforum.zoom.us/u/amalwa)\
**Post date:** [August 14, 2023, 7:05pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/3 "2023-08-14T19:05:20Z")

</div>

Hi Is there any update on this issue? As Zoom plans to enforce media capture permissions, we need this API to work properly so that it doesn’t break our application.

Regards.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [August 14, 2023, 10:56pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/4 "2023-08-14T22:56:26Z")

</div>

Hi @amalwa @bharat.bhadresha ,

This is a known issue and is being worked on to be fixed soon (ZOOM-496330). The fix will be released in the developer announcements and I will try to come back and share in this thread as well.

---

<div class="post-metadata">

**Author:** ![JackYang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jackyang/32/1135_2.png) [@JackYang](https://devforum.zoom.us/u/JackYang)\
**Post date:** [August 14, 2023, 11:08pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/6 "2023-08-14T23:08:17Z")

</div>

> [@bharat.bhadresha](#):
>
> ```auto
> ZoomMtg.mediaCapturePermission({
> operate: 'request',
> success: console.log,
> error: console.error
> })
> 
> ```

It’s works to me use 2.15.0. @gianni.zoom can you help verify which cluster Akash use it.

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/1/9196e5f0b68a13668b0ad0d6caa74672b65ed218.png)

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [August 14, 2023, 11:15pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/7 "2023-08-14T23:15:46Z")

</div>

Sure thing @JackYang ,

@amalwa @bharat.bhadresha please private message me your developer email, meeting SDK credentials, and recent meeting ID where you experienced this not working.

---

<div class="post-metadata">

**Author:** ![amalwa](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@amalwa](https://devforum.zoom.us/u/amalwa)\
**Post date:** [August 14, 2023, 11:31pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/8 "2023-08-14T23:31:48Z")

</div>

![Screenshot 2023-08-14 at 4.30.46 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/a/6ae71ea1ea76d71432638acf199c9f018a151ba6.png)  
 ![Screenshot 2023-08-14 at 4.31.43 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/8/082f0e31c1cfa9eeb73ffcbce3930f5d82f7c3a8.png)

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [August 15, 2023, 7:55pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/9 "2023-08-15T19:55:13Z")

</div>

Hi @amalwa @bharat.bhadresha ,

Submitted a ticket with your info for further investigation (ZSEE-102219).

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [August 16, 2023, 2:20pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/10 "2023-08-16T14:20:55Z")

</div>

@bharat.bhadresha do you have recording permissions enabled?

---

<div class="post-metadata">

**Author:** ![bharat.bhadresha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bharat.bhadresha/32/45714_2.png) [@bharat.bhadresha](https://devforum.zoom.us/u/bharat.bhadresha)\
**Post date:** [August 16, 2023, 4:07pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/11 "2023-08-16T16:07:41Z")

</div>

Yes @gianni.zoom, Here is the screenshot of the setting. Please confirm if this is the one you are referring to.  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/7/172e53147b1bc8567c00125feeff1b9cafbd3bab.png)

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [August 16, 2023, 8:20pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/12 "2023-08-16T20:20:01Z")

</div>

Hi @bharat.bhadresha @amalwa ,

Can you both update to latest version and try again? I just saw we do not support the versions you’re on and that may be the issue since we are not able to reproduce internally.

> **[Meeting SDK - Minimum Version](https://developers.zoom.us/docs/meeting-sdk/minimum-version/)**
>
> 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.

---

<div class="post-metadata">

**Author:** ![amalwa](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@amalwa](https://devforum.zoom.us/u/amalwa)\
**Post date:** [August 16, 2023, 8:32pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/13 "2023-08-16T20:32:26Z")

</div>

Hi Gianni,

I am on the latest version of the WebSDK 2.15.0 which is the only version where the media capture permissions API is provided for Component view.

Regards,  
Akash

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [August 16, 2023, 9:13pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/14 "2023-08-16T21:13:03Z")

</div>

Hi @amalwa ,

> [@amalwa](#):
>
> I am on the latest version of the WebSDK 2.15.0 which is the only version where the media capture permissions API is provided for Component view.

You are right! I forgot about this. **Using this requires the host to use the same meeting sdk version or the native client to join the meeting.**

Can you please confirm if this has been true in your testing?

---

<div class="post-metadata">

**Author:** ![amalwa](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@amalwa](https://devforum.zoom.us/u/amalwa)\
**Post date:** [August 16, 2023, 9:57pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/15 "2023-08-16T21:57:36Z")

</div>

> [@gianni.zoom](#):
>
> ng this requires the host to

Yes I can confirm that host used the native client to join the meeting.

---

<div class="post-metadata">

**Author:** ![bharat.bhadresha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bharat.bhadresha/32/45714_2.png) [@bharat.bhadresha](https://devforum.zoom.us/u/bharat.bhadresha)\
**Post date:** [August 17, 2023, 9:10am UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/16 "2023-08-17T09:10:20Z")

</div>

> [@gianni.zoom](#):
>
> Can you please confirm if this has been true in your testing?

Yes, I confirm that host is using native client to join the meeting in my tests.

---

<div class="post-metadata">

**Author:** ![bharat.bhadresha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bharat.bhadresha/32/45714_2.png) [@bharat.bhadresha](https://devforum.zoom.us/u/bharat.bhadresha)\
**Post date:** [August 17, 2023, 3:06pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/17 "2023-08-17T15:06:31Z")

</div>

I tested with the just released latest version `2.15.2` and the issue is still present.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [August 17, 2023, 8:08pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/18 "2023-08-17T20:08:48Z")

</div>

Okay thanks @bharat.bhadresha @amalwa we are unable to produce, but are still looking into this.

---

<div class="post-metadata">

**Author:** ![amalwa](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@amalwa](https://devforum.zoom.us/u/amalwa)\
**Post date:** [August 17, 2023, 9:56pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/19 "2023-08-17T21:56:56Z")

</div>

Ok So I think Gianni you are correct this feature works but requires the host to configure the account to allow local recording.

After a little more digging I found that the host has to enable local recording for the API to work.  
This article details about the process - [https://ccctechconnect.zendesk.com/hc/en-us/articles/360025272333-Recording-Permission-for-Participant-to-Record#:~:text=In%20your%20Zoom%20meeting%20click,a%20notification%20about%20recording%20privileges](https://ccctechconnect.zendesk.com/hc/en-us/articles/360025272333-Recording-Permission-for-Participant-to-Record#:~:text=In%20your%20Zoom%20meeting%20click,a%20notification%20about%20recording%20privileges).

Thanks for the help Gianni.

Regards,  
Akash

---

<div class="post-metadata">

**Author:** ![bharat.bhadresha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bharat.bhadresha/32/45714_2.png) [@bharat.bhadresha](https://devforum.zoom.us/u/bharat.bhadresha)\
**Post date:** [August 18, 2023, 6:34am UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/20 "2023-08-18T06:34:24Z")

</div>

Just FYI  
@gianni.zoom I have this setting enabled but still not working for me.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [August 18, 2023, 4:28pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/21 "2023-08-18T16:28:52Z")

</div>

Hi @amalwa , I’m glad you were able to resolve!

@bharat.bhadresha can you please share the type of meeting and recording settings? For example, is it a meeting that’s recurring? Is automatic recurring enabled?

Thanks!

[Next page](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167.md?page=2)
