-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stream not working with Version 2.0 #49
Comments
Same problem here. card:
core: 2021.4.5 Same on iPhone 7 wit iOS 14.5 Changed nothing, except the update. Updated from 1.3 to 1.4 to 2.0 without restart between 1.4 and 2.0. Did a restart after 2.0 |
In the logs I've this error
|
reload page many times then works with chrome or empty cache |
Thanks. Cache deleted fixed it. |
New error after deleting cache: {"error":"RTSP Client Unauthorized 401"} Downgrading to1.4.0 - all ok |
Now seems to work fine, changed nothing on HA iOS App, but cleared cache and website data on Safari Web |
The cache problem is fixed in the latest master version. @shammysha How do you set a password for your camera? In the lovelace card or in the camera entity? |
BigBuckBunny Stream is playing after clearing the cache. |
RTSP check is very simple, url must starts with |
I do not set passwd for camera anywhere |
@shammysha so you need to do it, because your camera doesn't work without it |
The url is a rtsp-stream. But I use a secret there. If I change to the direct url it works. So using a secret is not possible at the moment. It worked till 1.3
This is my url: |
In rtsp url to camera password exist.
Config does not changes between versions |
Updated to the master version. Stream seems to take more than 10-15 seconds to load (blank screen) on my HA iOS App running on iOS 14.6, iPhone 11; iPadOS 14.4.1, iPad mini 4. Previously stream loads instantly. Is this normal? On Safari Desktop, there's almost no delay. I suspect it is due to the CPU usage as it defaults to MSE at the start or because iOS 14.6 doesn't play over MSE, as once WebRTC takes over (delay of few seconds), it plays smoothly and instantly? |
@Se7enair you can't use secret in lovelace card. Create ffmpeg or generic camera and use it entity in webrtc card config |
@shammysha fix in latest master version |
@AlexxIT how about new official version? :) |
Need to collect more hotfixes |
@weitheng iOS doesn't support MSE, I have fixed readme. WebRTC not always starts instantly. Sometimes it takes time to get a public IP address. In theory, the connection can be speeded up, but there is a lot of work need to be done. |
I tested only on a testcard directly in lovelace. There it wont work. Normally I use the card as a popup on my dashboard, there it works with secret.
|
Reinstall via HACS, error {"error":"RTSP Client Unauthorized 401"} still exists |
master is not the same as HACS version...at least for now |
I see. But before updating to Version 2.0.0, it was way faster, no long delay before the stream was played. Because right now, it is consistently taking 10-15 seconds before the streams starts playing. I have tried multiple times and over different networks (WiFi, Mobile Data) Is it normal to be getting this message every time before a stream starts? |
Thank You. Will test when HACs version become the same as master :) |
Getting this while playing on iOS HA App:
|
Alphanumeric symbols only
From: Alex X ***@***.***>
Sent: Tuesday, May 4, 2021 1:49 PM
To: AlexxIT/WebRTC ***@***.***>
Cc: shammysha ***@***.***>; Mention ***@***.***>
Subject: Re: [AlexxIT/WebRTC] Stream not working with Version 2.0 (#49)
@shammysha <https://github.com/shammysha> what chars in your pass? Letters/numb or some spec?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#49 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/APWVNMIUY5YORJOGZDHCWXDTL7GIJANCNFSM44CAEUYQ> . <https://github.com/notifications/beacon/APWVNMLVXONCIVRMA7YSV7DTL7GIJA5CNFSM44CAEUY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGGKQLOA.gif>
|
Had a looked at the code in master branch and noticed the difference in using web sockets ( |
Changed url to format rtsp://admin:password@address:port |
I has setting in this form and not working. |
Hi Alex, thanks for update. My cameras set like this: With version 2 it stop working (error parsing). I think 2.0 parse it wrong because & symbol in password. With 1.4 it worked just fine. |
ok testing v2.0.1 with two cameras. I have it working for the first but the second is not with error (EDIT it stared but errors still in javascript console):
And one more. It looks like it breaks my external nabu casa access after some while. I asume it uses MSE access and although the stream is being displayed I still see loading circle (using android device with nabu casa access) and after a while working like this i suddenly can't access my nabu casa address. It takes some time and it works again... The same as above on Chrome PC with this error in console:
Looks like trying to access nabu casa with MSE is problematic. When is switches to WebRTC I see no more errors in console and stream is working fine. I think it should be configurable wheter to use MSE or WebRTC first when connecting. |
Maybe you just have a problem with the Internet? |
But these errors heppen when stream is in connection phase. After connected they stop. No I have no problems with connection to the internet |
The long delay is fixed with the latest master version. Only a tiny 1-2s now, barely noticeable. Thanks @AlexxIT :) |
I think problems in this issue closed in latest version |
Getting error message on new version. Tried on Safari Desktop and HA iOS App
The text was updated successfully, but these errors were encountered: