I am trying to record audio using Web Audio APIs, but I'm getting the error whenever I'm trying to access the mic in the confluence Page using navigator.MediaDevices APIs. -
ERROR - DOMException: The request is not allowed by the user agent or the platform in the current context.
AUDIO API I'm Trying to Use -
navigator.mediaDevices.getUserMedia({audio: true, video: false})
Hi Yash,
Welcome to Atlassian Community! It's nice to have you join us.
From what I understand, you're trying to record audio in Confluence. Since there isn't a built-in audio recorder for Confluence, can you show us what you're doing exactly? It will help us understand the situation so we can best assist you.
Thank you, and I hope to hear from you soon!
Take care,
Shannon
Hi Shannon,
Yeah, you're right, I'm trying to record audio in Confluence Cloud.
This is the App.js file of my custom UI Forge App, in which I'm implementing Browser's Audio API -
Previously I was thinking that this was blocked by the mic access, but now the mic permission is not the issue. The Confluence Page in which I'm trying to record the audio has the mic permission, but it's not starting recording whenever I try to record audio.
It's showing the error -
DOMException: The request is not allowed by the user agent or the platform in the current context.
For more clarification, you can take a look at my App.
Custom UI Forge App Repo - Audio Recorder App
I appreciate your quick response.
Thank You.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yash,
Thank you for confirming! Since your question is about developing an app for Atlassian products, I recommend asking this on our Developer Community instead.
This forum is the general Atlassian Community, so it's primarily end-user questions, and we don't have as much experience with developing apps as the Developers Community does.
I hope that helps! Let me know if you have any trouble raising the question there.
Take care,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, I will ask my doubts on the developer community. Thanks for your time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yash,
I'm happy to help direct your question.
Best of luck, and take care!
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.