You just focus on implementing your business logic and rendering your views and LiveViewJS handles the rest. LiveViewJS handles all of the complex parts of this for you. Websockets and Diffs? That sounds complicated! Īs a developer, you don't need to worry about connecting websockets or calculating diffs. As the user interacts with the LiveView, the client to sends user events (click, keys, etc) via the websocket back to the server and the server responds with diffs to the HTML page in return. More detail Īs mentioned, a LiveView is a server-rendered HTML page that, when loaded, connects back to the server via a persistent web socket. If you are building a web-based application, the LiveView approach is a super-powerful, some say "game-changing", way to build it and LiveViewJS is the best way to do it in NodeJS and Deno. offline-first apps are not the best fit - though sporadic internet connectivity is fine) There are also some drawbacks, including: no need to build (or operate) REST or GraphQL APIs.minimal data transfer (only send diffs).simple state management that works well at any scale (not just small apps).extremely fast, SEO-friendly page loads.There are many benefits to this approach, including: The LiveView pattern, as popularized in Elixir’s Phoenix framework, shifts your UI’s state management, event handling to the server, calculating minimal diffs to drive updates in your HTML over WebSockets. The LiveView approach allows developers to build applications with rich user experiences like React, Vue, etc, but withįar less code and complexity and far more speed and efficiency. Note: All firmware was updated one week ago and I haven't observed any improved performance yet.LiveViewJS is an open-source framework for "LiveView"-based, full-stack applications in NodeJS and Deno. I have changes all cameras to Hik-Connect, but so far not seen any difference in performance. although I did discover that under Network > Advanced Settings, I had a mix of ISUP and Hik-Connect configured for platform access. Regarding how I connect, I use Hik-Connect. Latest (according to the HikVision website but can’t update) V5.7.3_211222 even though the HikVision site points me towards V5.7.3_211222? however I see from other posts I may need to go to v5.6 first? I have managed to update them all to V5.5.800 build 210628. I have tried different browsers, running as Administrator, loading from C:\digicap.dav etc. ![]() I can't install the latest version for all 5 DS-2CD2386G2 cameras as I get the message. I updated the DS-2CD2545FWD-IWS firmware ok.ģ. A manual search via the NVR / IP address suggested my current firmware version was the latest, yet I have managed to install a later version via the HikVision website.Ģ. I have added the details below, although there's a few points to highlight.ġ. I guess I have found my first mistake as I set the NVR to auto install the latest firmware, however I was thinking this would do the whole system. I have scanned through the ‘how to’ guides and other posts, but can’t see anything which matches my exact problems. ![]() I do however have my live view on my phone set to ‘HD’ (for individual cameras) so I suspect it uses the mainstream settings instead? My firmware is up to date on the NVR, I am using the latest version of Hik-Connect and my kit is as follows: -ġ x DS-2CD2545FWD-IWS (This one performs/streams the best, presumably because of the lower quality)Īpologies for the long post, but I am not sure if these are all related. My substream parameters are the default settings and are therefore much lower than the mainstream values. The issues are intermittent and can happen over WiFi (Virgin ~100mb download, ~10mb upload) or good strength 4/5g. I once had an issue where the system appeared offline via two different iPhones, however when I then tried to access via my iPad, it showed ‘No more connections allowed’.Occasionally, the NVR and cameras all go offline together (usually after multiple attempts to view remotely after timing out – re point 2 above) however the system returns back to normal on its own after about 5 minutes.When I select individual cameras, it can take up to 10 seconds to show the live view or it times out and shows the above message. Connecting again…’ It also sometimes plays one camera (out of 6) and shows a ‘play’ button for the rest. When I access Hik-Connect via my iPhone 12, it often shows ‘Network is unstable. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |