speechgpt
speechgpt copied to clipboard
Safari显示连接中
Describe the bug
家里两台移动设备,iPad Air 5和iPhone 13,都一样的现象
网络环境,正常wifi链接,连接透明网关负责科学上网
现象:点击录音按键,一直显示“等待中”或“连接中”,无其他错误
Steps to reproduce
- Open SpeechGPT on Safari
- Fill in token for OpenAI & Azure
- Click "Record"
Screenshots or additional context
same here, looks like mobile browsers are not supported
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
This may also be due to network timeout and will be fixed in the future
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.
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.
I run into the same problem when I want to use speecgpt on the iPhone for Edge
遇到同样的问题,Chrome和Edge都在waiting中
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".
我发现解决方案了。可以使用手机浏览器如 夸克浏览器。或者电脑上使用chrome 浏览器。
出现问题的原因是,浏览器无法调取 语音服务,而代码中没有针对各种可能出现无法访问语音服务时的提醒。所以需要一个可以自动弹出,设置打开麦克风权限的浏览器。比如 Chrome 浏览器,或者手机上的 夸克浏览器。