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

Open方法回调需要经过200ms多延时? #215

Open
Astlvk opened this issue Mar 21, 2024 · 3 comments
Open

Open方法回调需要经过200ms多延时? #215

Astlvk opened this issue Mar 21, 2024 · 3 comments

Comments

@Astlvk
Copy link

Astlvk commented Mar 21, 2024


你好,目前测试的open函数的回调相对比较慢,基本都是200多毫秒。暂时没调试过源码,想请教下源码内open函数中的setTimeout函数这里是否有影响?

@xiangyuecn
Copy link
Owner

open本身就是耗时的操作,不要去假设open能很快回调,几百ms 到 几秒都是有可能的

@xiangyuecn
Copy link
Owner

setTimeout这100ms,相对来说是没什么影响的

@yegdynrs
Copy link

我浏览器几百毫秒都还能接受,微信浏览器内,直接1-2s,直接懵了,按住录音说话那种,不关闭录音占用,关闭,每次重新open非常耗时

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

3 participants