Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I'm not able to use Web Audio Recorder API in my confluence app

Yash Shivhare September 30, 2021

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})

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 5, 2021

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

Yash Shivhare October 11, 2021

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 -

App.js 

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.

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 12, 2021

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

Yash Shivhare October 12, 2021

Ok, I will ask my doubts on the developer community. Thanks for your time.

Like Shannon S likes this
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 13, 2021

Hi Yash,

I'm happy to help direct your question.

Best of luck, and take care!

Shannon

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events