『瀚思彼岸』» 智能家居技术论坛

标题: HA7.1之后WebRTC Camera失效 [打印本页]

作者: dails    时间: 2022-7-9 10:34
标题: HA7.1之后WebRTC Camera失效
本帖最后由 dails 于 2022-7-9 19:55 编辑

问问其他人有发生这种情况吗?摄像头并无问题,app单独看是在工作的。


参照下面方法修复。(https://github.com/AlexxIT/WebRTC/issues/318



作者: wxs520520    时间: 2022-7-9 12:17
本帖最后由 wxs520520 于 2022-7-9 12:23 编辑

删除\config\custom_components\webrtc\www路径下的压缩包(具体文件名忘记了),然后清除浏览器和APP缓存试下。
作者: dscao    时间: 2022-7-9 12:45
我的在7.0后出现这个情况,按https://github.com/AlexxIT/WebRTC/pull/320 操作当时没解决,但升级到7.1后就恢复正常了。7.2还没测试。
作者: dscao    时间: 2022-7-9 12:45
我的在7.0后出现这个情况,按https://github.com/AlexxIT/WebRTC/pull/320 操作当时没解决,但升级到7.1后就恢复正常了。7.2还没测试。
作者: dscao    时间: 2022-7-9 12:45
本帖最后由 dscao 于 2022-7-10 11:25 编辑

我的在7.0后出现这个情况,按https://github.com/AlexxIT/WebRTC/pull/320 操作当时没解决,就没管了,但升级到7.1后就自己恢复正常了。再升7.2也正常。
作者: mrlaogui    时间: 2022-7-9 14:23
删除压缩包和更改版本号均无效果
作者: dails    时间: 2022-7-9 19:09
Remove custom_components/webrtc/www/webrtc-camera.js.gz
If you are using HA from the browser, do a hard refresh multiple times (Ctrl+Shift+r on chrome) - instruction for other browsers
If you are using HA client on the android mobile phone, kill/restart the application
if the iOS app, reset the frontend cache. Side bar> app configuration > debugging>reset frontend cache


参照这个步骤没成功
作者: hanwei0708    时间: 2022-7-10 00:09
#320
https://github.com/AlexxIT/WebRTC/pull/320/files
67行,自己改下版本号




欢迎光临 『瀚思彼岸』» 智能家居技术论坛 (https://bbs.hassbian.com/) Powered by Discuz! X3.5