hahahumble / speechgpt

💬 SpeechGPT is a web application that enables you to converse with ChatGPT.
https://speechgpt.app
MIT License
2.73k stars 404 forks source link

Safari显示连接中 #17

Open waynez opened 1 year ago

waynez commented 1 year ago

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

kamil-malinski commented 1 year ago

same here, looks like mobile browsers are not supported

erbanku commented 1 year ago

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.

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

hahahumble commented 1 year ago

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

waynez commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

Lilac0059 commented 1 year ago

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

caozhong14 commented 1 year ago

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 commented 1 year ago

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

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