Open osworx opened 8 months ago
What format is the video on your record stream? Is it h.265?
It's H.264 (was before H.265 and changed last week after installing Frigate).
Normally all stored videos can be viewed without any problem when using Firefox (one of those browsers which cannot play H.265 encoded videos). So I do not see any reason why those videos are not working ..
And viewing them inside HA or Frigate, everything is working when using Firefox. Don't know what the mobile is using ..
UPDATE: added the (optional) Base URL and now it works (on Android, will check iPhone later and report here again).
The help text should be therefore updated, as it seems without the base url it does not work:
The external url for your Home Assistant instance. Recommended for iOS and required for Android/Fire TV.
It should work without the baseurl if it was opening in the app. However this behaviour seems to vary between devices.
Assuming it was opening in a browser I'd be interested in seeing the difference between the urls for the snapshot and the video given only the former worked
After many tests, here are the results (while not every test was successful, sometimes I recieved an 403 error, rarely "Event not found"). As device is used a Android Samsung with Firefox as browser and a iPhone with iOs 17.x.
A. with baseurl: cklicking on the defined action URLs, sometimes the above mentioned errors were displayed. In 90% the action was successful. But when as action a clip was defined, only the first 2 seconds are displayed, rest of video is frozen.
B. without baseurl: actions - view snapshot and stream) are (now) successfully performed (strange, before that did not work). View Clip does not work, it shows only the media player and the seconds how long - but no image (video).
If the baseurl is defined, the browser (here Firefox) on the Android (Samsung) is used, otherwise HA (I guess).
What I really do not understand, is that: Recommended for iOS and required for Android/Fire TV.
at the field for the baseurl.
I tried it without on both devices, and it worked perfectly!
So why for iOS ??
It seems, that these "help" texts should be reworked ..
UPDATE: if one link in the notification (without baseurl) is Live (connected with the livestream - one option in the application) , the link seems to be valid only a few minutes!
Clicking on it after 10/15 Minutes lead to a 403 Error (forbidden) - therefore not useable.
A. with baseurl: cklicking on the defined action URLs, sometimes the above mentioned errors were displayed. In 90% the action was successful. But when as action a clip was defined, only the first 2 seconds are displayed, rest of video is frozen.
what was the time period of clicking? If you click too fast the clip doesn't exist.
UPDATE: if one link in the notification (without baseurl) is Live (connected with the livestream - one option in the application) , the link seems to be valid only a few minutes!
Correct, the token expires. This nothing to do with the blueprint. Use a different action to open frigate if you need to.
What I really do not understand, is that:
Recommended for iOS and required for Android/Fire TV.
at the field for the baseurl. I tried it without on both devices, and it worked perfectly!
You have not mentioned using a TV at all do I do not know why you say both devices.
So why for iOS ??
You have one IOS device out of many. Not all behave the same. There have been hundreds of users with issues opening IOS link without Base URL set. It is a recommendation only. If it works for you without it, good.
It seems, that these "help" texts should be reworked ..
Twice you have suggested this without stating what is incorrect about it.
Recommended for iOS ..
-and that's the second device hereI am coming from the OpenSource scene, working with and for since about more than 20 years. Involved also in some translation projects out of them. When (!!) a help text is given, it should be
a. correct b. helpful
otherwise it leads to questions and irritations resulting in filling forum threads and issuses at Github which could be avoided.
No offending, just my experience from the last years. And I am used to offer my help in this scene - take it or let it .. but I (and I am sure many others) and you don't want to waste time with useless questions and answers and discussions ..
Description
Environement:
Core 2023.11.2 Supervisor 2023.11.3 Operating System 11.1 Frontend 20231030.2
Android Samsung Galaxy A02s / Version 12
While the notification works perfectly (snapshot can be viewed), the clip cannot: showing just the media player and the "waiting" spinner .. nothing else happens.
Version
0.12.0.1r (latest dev version)
Automation Config
Frigate Config
Any other relevant information
No response