-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOMException: The user aborted a request #240
Comments
|
My site is allowed to access the microphone and I get the same error... |
@C4rb0ngit It could also be incorrect path to the hosted worker. |
sorry to ask probably stupid questions but what is the hosted worker? |
You need to host the encoderWorker.min.js on your web server. Example If
you are using webpack:
https://github.com/chris-rudmin/opus-recorder#getting-started-with-webpack
…On Wed, Aug 4, 2021 at 11:24 AM C4rb0ngit ***@***.***> wrote:
sorry to ask probably stupid questions but what is the hosted worker?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#240 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD3XA55GUUY3U3QTVSVX3TT3FLS7ANCNFSM454GDDAQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
sorry but do you know how to do it in flask because I am very new to web dev and have no idea what to do / can't find anything online |
@C4rb0ngit I do not know. |
Okay, thanks anyways. So basically I need to host my flask application on a server like ngix or apache and that's is? |
Ditto, I'm having the exact same issue here. Could it be something other than the worker? Is there a way to verify the worker/encoderPath is working? My webpack config (nextjs):
|
In Next JS the encoder file inject in to the _next directory and how set the worker to change this path to when i set in in to the /_next/static/.... or /public/ and set the encoderPath its ok but when i want use automatically solution. |
I'm not sure if this is still relevant, but the solution to this is by using webpack asset modules instead of file-loader: config.module.rules.push({
test: /encoderWorker\.min\.js$/,
type: "asset/resource",
}); |
Hello,
I want to implement the opus-recorder package in my project but when i create a new instance i got this error
this.recorder = new Recorder({ encoderPath: '../controllers/waveWorker.min.js', wavBitDepth: 16, numberOfChannels: 1, mediaTrackConstraints: this.audioConstraints });
The text was updated successfully, but these errors were encountered: