Skip to content
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

Demo is not working in Chrome #13

Open
Mageshkumar-Rajendran opened this issue Jun 18, 2016 · 7 comments
Open

Demo is not working in Chrome #13

Mageshkumar-Rajendran opened this issue Jun 18, 2016 · 7 comments
Labels

Comments

@Mageshkumar-Rajendran
Copy link

Mageshkumar-Rajendran commented Jun 18, 2016

please check and give me some solution.
It is not working in any browser i just check it but i cant fix the problem.

@daaain
Copy link
Owner

daaain commented Jun 18, 2016

Hi @Mageshkumar-Rajendran,

Please give a bit more details on what your problem is, what errors do you see in the browser console and what operating system / browser version you're using otherwise it's difficult to help you.

@Mageshkumar-Rajendran
Copy link
Author

i'm using windows 10 os , chrome version is 51.0.2704.103 m , Firefox version is 47.0

Actullay i get the time but i did not get the voice.

In firefox console i get the following,
Audio context set up.
recordLive.js (line 116)
navigator.getUserMedia available.
recordLive.js (line 117)
ACFFT initiliazed
ACFFT.js (line 99)
Recording...
recordLive.js (line 31)
Stopped recording.

Please check and give me a solution if you need more details about the problem please ask me.

@daaain
Copy link
Owner

daaain commented Jun 25, 2016

Just had a look, had the same results as you.

Chrome flat out refuses to record saying "getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details."

Firefox is supposed to work (though there are deprecation warnings there too), but I also don't get any sound back.

To be honest this was a one time hack which I totally don't maintain and I'm on holiday right now so not sure if I'll have time to debug, but if you find out why is it not working in Firefox (or even submit a pull request) I'm happy to update it.

@daaain daaain added the bug label Jun 25, 2016
@Mageshkumar-Rajendran
Copy link
Author

hi...

Thank you very much for your reply.

and If i find out why it is not working (Firefox) i will inform you. here i
have schedule with other work so i will try my best, and also if you have
time to fix please check it.

once again thank you.

On Sat, Jun 25, 2016 at 9:53 PM, Daniel Demmel [email protected]
wrote:

Just had a look, had the same results as you.

Chrome flat out refuses to record saying "getUserMedia() no longer works
on insecure origins. To use this feature, you should consider switching
your application to a secure origin, such as HTTPS. See
https://goo.gl/rStTGz for more details."

Firefox is supposed to work (though there are deprecation warnings there
too), but I also don't get any sound back.

To be honest this was a one time hack which I totally don't maintain and
I'm on holiday right now so not sure if I'll have time to debug, but if you
find out why is it not working in Firefox (or even submit a pull request)
I'm happy to update it.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#13 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ATFi_NGs1gRv6sZhyCg5dVXAzMq0H_cHks5qPVYRgaJpZM4I48VC
.

@andraz
Copy link

andraz commented Jul 24, 2018

Chrome blocks http domains, please use https domain (for example free Firebase static file hosting, comes with https support out of the box)

@jiangyi1985
Copy link

not working on chrome 88.0.4324.182
macOS 10.15.7 (x86_64)
with https

can record, but when hit play, nothing happens

@daaain
Copy link
Owner

daaain commented Mar 12, 2021

I should update that URL in the readme, but it actually redirects to HTTPS now, so that's not the issue.

Recording and playback seem to actually work in Firefox 86.

If you open the console in Chrome, you can see that apparently now the AudioContext has to be created on user interaction:

drone.js:1 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
(anonymous) @ drone.js:1
43[Deprecation] The ScriptProcessorNode is deprecated. Use AudioWorkletNode instead. ()
recordLive.js:115 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu

I won't really have time to fix this, but happy to review a pull request.

@daaain daaain changed the title Your demo is not working Demo is not working in Chrome Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants