Commit graph

12 commits

Author SHA1 Message Date
David Ventura
f85248bc6a support single-frame capture 2024-07-01 16:03:21 +02:00
David Ventura
d5d4161dd8 implement settings support 2024-05-05 17:39:52 +02:00
David Ventura
f4b7b1a463 remove ansi from options 2024-05-05 16:43:31 +02:00
David Ventura
2ec4d603c6 remove incorrect workarounds for undetected cameras 2024-05-02 13:23:52 +02:00
David Ventura
d14e16c53d warn if node version <16 2024-05-02 10:01:11 +02:00
David Ventura
9654dc2841 implement logging properly 2024-05-01 13:06:27 +02:00
David Ventura
a547546055 add slow-startup flag 2024-05-01 11:56:17 +02:00
Adriano Cunha
690c1b4146
More features in the HTTP server (#16)
* Added more features to HTTP server

* Added a title to the multi-camera view page.
* Support naming cameras through a simple mapping using a text file.
* Updated some logging messages to be more verbose (and match those in pair.ts).
* Confirmed the charging status and battery level values reported back by DevStatusAck.
* Log camera status (charging, battery, Wifi strength) when connected.

* More updates to HTTP server

* Deal with Web Audio autoplay policy by starting camera on mute and adding a button to toggle the audio stream.
* Add a favicon so the server tan can be easily spotted.

The favicon file is a 48x48 32bpp ICO file, gzipped.

* Update README.md

* Describe flags and enable camera audio by default.

* Update audio button based on state change

* Update description of discovery_ip in bin.ts

* Update session start message in http_server.ts

* Update README.md

Update flags and note about --discovery_ip.
2024-04-30 16:18:10 +02:00
David Ventura
639a78419e refactor to allow bundling 2024-04-26 10:32:56 +02:00
Adriano Cunha
69a8b2e172
Update opts in pair.ts
Update opts in pair.ts to include attempt_to_fix_packet_loss.

Otherwise it will fail with:

```
cmd/pair.ts:16:29 - error TS2345: Argument of type '{ debug: boolean; ansi: boolean; discovery_ip: string; }' is not assignable to parameter of type 'opt'.
  Property 'attempt_to_fix_packet_loss' is missing in type '{ debug: boolean; ansi: boolean; discovery_ip: string; }' but required in type 'opt'.
```
2024-04-23 22:05:11 -07:00
DavidVentura
2215cf5b5c validate env vars are set 2024-02-01 13:14:14 +01:00
DavidVentura
5379266fc8 implement pair command 2024-01-31 16:38:23 +01:00