grishkovelli / vue-audio-recorder

A simple audio recorder for VueJS applications
MIT License
501 stars 158 forks source link

Cannot read property 'getTracks' of undefined #20

Open hbb520 opened 5 years ago

grishkovelli commented 5 years ago

What kind of browser/os are using?

TwilightDuck commented 5 years ago

I have the same issue. tested in Brave and Chrome in Linux (Ubuntu based distro)

TwilightDuck commented 5 years ago

You jsfiddle only seems to work in Firefox as well.

metaphysician commented 5 years ago

@grishkovelli - confirmed on my macOS using Safari 11 in High Sierra, which doesn't work. Safari is set to ask for microphone access but it never gets to that. i set it to allow from JSFiddle and it still doesn't work. might be a WebAudio issue with Safari in my case but not sure. other WebAudio sites with audio recorder demos do work. not sure - might be an issue with JSFiddle on Safari specifically as well.

grishkovelli commented 5 years ago

JSFiddle has an old version, anyway I'll check it. Try to pull master

ryuuc commented 5 years ago

same issue

ryuuc commented 5 years ago

upgrade to https save my day

smileymrking commented 5 years ago

I have the same issue. Tested in Homestead and Chorme(version:75.0.3770.100). image

jiwan-gharti commented 2 years ago

how to solve this error ...

error

ryuuc commented 2 years ago

hey @jiwan-gharti are you using the component in an http page? if so you should upgrade your site to https instead, more details camera and microphone will require an https connection to work. Access from insecure http will cease to work

ChinaFLTV commented 2 months ago

浏览器输入 chrome://flags/#unsafely-treat-insecure-origin-as-secure ,把他开启之后,然后再输入框中键入你的开发地址,最后重启浏览器就可以了