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

VueRecord throw a TypeError: failed to execute connect on audioNode #8

Open
wyh opened this issue Feb 28, 2020 · 8 comments
Open

VueRecord throw a TypeError: failed to execute connect on audioNode #8

wyh opened this issue Feb 28, 2020 · 8 comments

Comments

@wyh
Copy link

wyh commented Feb 28, 2020

The detail error stack is as following:

VueRecord.umd.js?c9d0:4086 Uncaught TypeError: Failed to execute 'connect' on 'AudioNode': No function was found that matched the signature provided.
    at startContext (VueRecord.umd.js?c9d0:4086)
    at TapListener._ended (VueRecord.umd.js?c9d0:4056)
startContext @ VueRecord.umd.js?c9d0:4086
TapListener._ended @ VueRecord.umd.js?c9d0:4056

Following steps have been made:

  1. install: npm install @codekraft-studio/vue-record
  2. import it in the component:
import Vue from 'vue'
import VueRecord from '@codekraft-studio/vue-record'

Vue.use(VueRecord)
  1. And finally using it in the compoent:
<VueRecordAudio mode="hold" @result="recordAudio" />
@wyh
Copy link
Author

wyh commented Feb 28, 2020

However, the demo can be opened and it works well.

@b4dnewz
Copy link
Member

b4dnewz commented Mar 1, 2020

are you using safari browser?

@wyh
Copy link
Author

wyh commented Mar 2, 2020

No. My Browser is Chrome, version: 80.0.3987.122.

@jonalxh
Copy link

jonalxh commented Mar 16, 2020

Same issue here.
Google Chrome Version 80.0.3987.122 (Official Build) (64-bit)

@b4dnewz
Copy link
Member

b4dnewz commented Apr 28, 2020

hi, actually i'm not able to replicate the issue, but I'm quite sure it's related to an archived package we use since the last version.

I need to investigate about that and find a possible substitute for that package.

@jonalxh
Copy link

jonalxh commented May 11, 2020

Any progress?

@b4dnewz
Copy link
Member

b4dnewz commented May 11, 2020

not really, unfortunately I don't have enough time right now to take a look to this.
i'm still evaluating which is the best substitution for tone.js, which is causing the issue, before start a project refactoring

right now I found MediaStreamRecorder and audio-recorder-polyfill which can be used to fix this

@jon85p
Copy link

jon85p commented Oct 25, 2020

Hello!
On my company we had this error, the solution (in our case) was to deploy to https, from Chrome 74 the audio context don't work over insecure deployments (without ssl)

https://stackoverflow.com/a/58716697

Works for you? @wyh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants