Closed Claudio1L closed 2 years ago
Pull confirmed working perfectly. I am on 2022.7.1 by now, too btw. And no, it does NOT work without it. Even on .1 version.
2webrtc-camera.js?v2.3.0:123 Received MSE codecs: avc1.640020
2webrtc-camera.js?v2.3.0:133 Received WebRTC SDP
2webrtc-camera.js?v2.3.0:239 WebRTC state: connecting
2webrtc-camera.js?v2.3.0:211 Connecting over WAN
2webrtc-camera.js?v2.3.0:239 WebRTC state: connected
4webrtc-camera.js?v2.3.0:155 Auto seek to livetime
2webrtc-camera.js?v2.3.0:179 Switch to WebRTC
just replaced the webrtc-camera.js from the latest commit and restarted, get the exact same issue. running 2022.7.1
Not "only replaced" All the step and order are important and then all cameras working fine!
yes, i deleted the pycache contents and tried it on a fresh browser that hasn't used it before etc. still not having it.
Solved the iphone issue with a couple of frontend cache cleaning in the app. Next check will be android
Is this custom integration still being developed/mantained?
Fix did not work for me either.
2022.7.2 is out - and didn't fix it.
Is this custom integration still being developed/mantained?
Yes, the integration it is still active, @AlexxIT It is doing a great job, but all we need is patience. He just solved the Sonooff LAN issue (being in holiday), so I bet that he will save us with this problem too.
Cheers
+1 on 7.1 and 7.2 - issue remains
I don't really understand the issue, but I think it might have to do with the ffmpeg version inside HA or something?
if I run ffmpeg "rtmp://blablalbla" I get info about the stream as expected, doing the same with "rtsp://blablabla" stream gives me errors like Invalid data found when processing input
or Unable to find a suitable output format for 'rtsp://blablabla
Again, I'm not the most technical, I just remember when webrtc camera worked in HA, I could run ffmpeg with rtsp stream without error message. (Similar 3y old issue, where rtsp was broken in some versions of ffmpeg I found while googling here:https://github.com/acaudwell/Gource/issues/216).
I have tried the steps outlined #318 to no avail.
Went back to 2.6.7 and webRTC is working!
@Claudio1L try to apply #320 and remove special characters from camera's login/password (if exists). It works for me. And change "version" at webrtc-camera.js file
FYI: Some cameras do not support a password without special chars.
Doesn't work also in:
Home Assistant 2022.7.3
Supervisor 2022.07.0
Operating System 8.2
Frontend 20220707.0 - latest
Doesn't work also in:
Home Assistant 2022.7.3 Supervisor 2022.07.0 Operating System 8.2 Frontend 20220707.0 - latest
For me also no working
Rather than commenting, please use the thumbs up feature if you only wish to confirm you’re also experiencing the issues, it isn’t productive and causes unnecessary notifications for subscribers.
+1 same here
Guys, see below what worked for me... Everything working fine now.
File Browser, change the file custom_components\webrtc\www[webrtc-camera.js] replace all content to below RAW code: https://raw.githubusercontent.com/skrobul/WebRTC/38c77b400f86f20a42e0b8103bb01f6a0a7377eb/custom_components/webrtc/www/webrtc-camera.js
Delete the .gz file located in custom_components\webrtc\www
Delete all files located in custom_components\webrtcpycache
Remove IP Ban (in case you have it)
Restart you HA and in the meantime you clear all the cash from your browser. Do not forget to clear the cash in your mobile phone app as well.
Try to see your cameras in your browser and in your mobile app.
If everything is working fime, turn on IP Ban again.
Guys, see below what worked for me... Everything working fine now.
Yup, that's what I did. No dice.
What I'd like to understand is why doing any of this causes a "failed login" on the HASS USER level.
this sounds like some underlying HASS issue if some wrongly coded integration can cause this to happen.
Still not working here after trying those steps (except 2, had no .gz file in custom_components\webrtc\www folder) No ip ban setup neither
Did you guys full clean up the browser cash?
Did you guys full clean up the browser cash?
Using the HA as web app, after cleaning the cache in Chrome as well is working... tks
reinstall repo with "Master" Branch via HACS and clear browser and phone app cache. now work well :)
I can confirm that the solution posted by freirejc above worked for me.
The only thing different that I had not tried in previous attempts was to delete the .gz file located in custom_components\webrtc\www.
Thanks
Fixed in latest release https://github.com/AlexxIT/WebRTC/releases/tag/v2.3.1
That works - Thanks
after update to 2022.7, logged "login attempt failed"