speechgpt icon indicating copy to clipboard operation
speechgpt copied to clipboard

Safari显示连接中

Open waynez opened this issue 1 year ago • 9 comments

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 avatar Apr 02 '23 05:04 waynez

same here, looks like mobile browsers are not supported

kamil-malinski avatar Apr 02 '23 20:04 kamil-malinski

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

erbanku avatar Apr 03 '23 00:04 erbanku

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

hahahumble avatar Apr 03 '23 00:04 hahahumble

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 avatar Apr 03 '23 01:04 waynez

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.

waynez avatar Apr 03 '23 01:04 waynez

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

Misaka-9982-coder avatar Apr 07 '23 15:04 Misaka-9982-coder

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

Lilac0059 avatar Apr 18 '23 14:04 Lilac0059

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 avatar Apr 27 '23 15:04 caozhong14

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

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

caozhong14 avatar Apr 28 '23 05:04 caozhong14