blakeblackshear.frigate/web
Josh Hawkins ef46451b80 Live player fixes (#13143)
* Jump to live when exceeding buffer time threshold in MSE player

* clean up

* Try adjusting playback rate instead of jumping to live

* clean up

* fallback to webrtc if enabled before jsmpeg

* baseline

* clean up

* remove comments

* adaptive playback rate and intelligent switching improvements

* increase logging and reset live mode after camera is no longer active on dashboard only

* jump to live on safari/iOS

* clean up

* clean up

* refactor camera live mode hook

* remove key listener

* resolve conflicts
2024-08-29 19:58:36 -06:00
..
.vscode Update web readme (#12062) 2024-06-19 08:11:51 -06:00
images
public
src Live player fixes (#13143) 2024-08-29 19:58:36 -06:00
themes Theme updates (#12373) 2024-07-10 07:04:02 -05:00
.eslintrc.cjs
.gitignore
.prettierrc
components.json
index.html
login.html
package-lock.json Web deps (#12908) 2024-08-29 19:58:36 -06:00
package.json Web deps (#12908) 2024-08-29 19:58:36 -06:00
postcss.config.js
README.md Update web readme (#12062) 2024-06-19 08:11:51 -06:00
site.webmanifest
tailwind.config.js Theme updates (#12373) 2024-07-10 07:04:02 -05:00
tsconfig.json
tsconfig.node.json
vite.config.ts

This is the Frigate frontend which connects to and provides a User Interface to the Python backend.

Web Development

Installing Web Dependencies Via NPM

Within /web, run:

npm install

Running development frontend

Within /web, run:

PROXY_HOST=<ip_address:port> npm run dev

The Proxy Host can point to your existing Frigate instance. Otherwise defaults to localhost:5000 if running Frigate on the same machine.

Extensions

Install these IDE extensions for an improved development experience:

  • eslint