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

Safari显示连接中 #17

Open
waynez opened this issue Apr 2, 2023 · 9 comments
Open

Safari显示连接中 #17

waynez opened this issue Apr 2, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@waynez
Copy link

waynez commented Apr 2, 2023

Describe the bug

家里两台移动设备,iPad Air 5和iPhone 13,都一样的现象

网络环境,正常wifi链接,连接透明网关负责科学上网

现象:点击录音按键,一直显示“等待中”或“连接中”,无其他错误

Steps to reproduce

  1. Open SpeechGPT on Safari
  2. Fill in token for OpenAI & Azure
  3. Click "Record"

Screenshots or additional context

IMG_7669

@waynez waynez added the bug Something isn't working label Apr 2, 2023
@kamil-malinski
Copy link

same here, looks like mobile browsers are not supported

@erbanku
Copy link

erbanku commented Apr 3, 2023

Please ensure you have enabled the 2 APIs below in Safsari's Experimental WebKit Features setting. In my case, the problem was solved after enabling these 2 APIs.

  • AudioSession API
  • AudioSession full API

You may want to look at: How to Enable Experimental Features in Safari Mac and iPhone? – WebNots
20230402_233819000_iOS

@hahahumble
Copy link
Owner

This may also be due to network timeout and will be fixed in the future

@waynez
Copy link
Author

waynez commented Apr 3, 2023

How to Enable Experimental Features in Safari Mac and iPhone? – WebNots

Thanks for the pointer, but I can't find these 2 features on my iPhone(iOS 16.2). I also checked it on Mac Safari, no these AudioSession API options.

@waynez
Copy link
Author

waynez commented Apr 3, 2023

This may also be due to network timeout and will be fixed in the future

This could be the case. I can see HTTP request to Azure is redirected through my gateway but nothing comes back, the connection just stalls there.

@Misaka-9982-coder
Copy link
Contributor

I run into the same problem when I want to use speecgpt on the iPhone for Edge
15061680882335_ pic
15071680882374_ pic

@Lilac0059
Copy link

Lilac0059 commented Apr 18, 2023

遇到同样的问题,Chrome和Edge都在waiting中

@caozhong14
Copy link

I can use it with my Mac (No VPN), but I cannot use it with Safari or Chrome on my phone (The same Wifi).

The function "chat" and "Synthesis" is working.

The function "Recognition" is not working. And it is always showing "connecting".

@caozhong14
Copy link

我发现解决方案了。可以使用手机浏览器如 夸克浏览器。或者电脑上使用chrome 浏览器。

出现问题的原因是,浏览器无法调取 语音服务,而代码中没有针对各种可能出现无法访问语音服务时的提醒。所以需要一个可以自动弹出,设置打开麦克风权限的浏览器。比如 Chrome 浏览器,或者手机上的 夸克浏览器。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants