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

play() 执行出现报错: Cannot read property 'frequencyBinCount' of null #72

Closed
ParadiseWitch opened this issue Dec 21, 2020 · 1 comment

Comments

@ParadiseWitch
Copy link

官方的demo也有这个问题,操作流程如下

录音开始 -> 暂停 -> 录音结束 ->再次录音开始 -> 录音结束 -> 播放

之后可以看到浏览器疯狂报错:

player.ts:123 Uncaught TypeError: Cannot read property 'frequencyBinCount' of null
    at Function.e.getAnalyseData (player.ts:123)
    at t.getPlayAnalyseData (index.ts:218)
    at t.drawPlay (App.tsx:241)
@2fps
Copy link
Owner

2fps commented Jan 9, 2021

感谢提示,最新的1.0.7版本已修复。

@2fps 2fps closed this as completed Jan 9, 2021
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

2 participants