25 Commits
Author SHA1 Message Date
David Ventura 04fb1a8e4c configure timeout 2024-05-07 12:06:46 +02:00
David Ventura 40dab0c017 bump timeout for wifiscanning - should only be in pair mode.. 2024-05-07 11:30:04 +02:00
David Ventura ea533d786d add warning on timeout 2024-05-06 11:48:23 +02:00
David Ventura f065fbca9a handle close message 2024-05-06 09:25:58 +02:00
David Ventura d5d4161dd8 implement settings support 2024-05-05 17:39:52 +02:00
David Ventura a93564cd11 do not consider p2palive messages for camera liveness 2024-05-03 15:57:55 +02:00
David Ventura 204677ceae implement simple retransmission scheme 2024-05-03 12:35:29 +02:00
David Ventura 6c7856054e remove port form log 2024-05-03 11:19:09 +02:00
David Ventura 2ec4d603c6 remove incorrect workarounds for undetected cameras 2024-05-02 13:23:52 +02:00
David Ventura 1439d5f632 reply on the port we should 2024-05-01 23:54:33 +02:00
David Ventura 58c58e38ac increase delay & send LanSearchExt 2024-05-01 16:57:43 +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
David Ventura 5bb0038d9b send P2PAlive immediately after P2pRdy 2024-04-30 23:16:24 +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
DavidVentura 25ae4fa72e attempt to re-stitch together JPEGs at the recovery markers upon dataloss 2024-02-01 17:56:27 +01:00
DavidVentura 2f2b6d302a refactor curimage into a slice of buffers & pass options via session 2024-02-01 17:56:08 +01:00
DavidVentura 7d2160f07f support multiple streams concurrently 2024-01-31 18:06:52 +01:00
DavidVentura a93c0badff actually use the onlogin callback 2024-01-31 16:38:00 +01:00
DavidVentura 9685f8008e allow onLogin CB to be specified 2024-01-31 16:32:06 +01:00
DavidVentura 33e7aeaacc cleanup punchpkt 2024-01-31 16:13:20 +01:00
DavidVentura c12c432e71 refactor for multiple sessions 2024-01-31 16:11:22 +01:00
DavidVentura 5f6d5fefe3 remove unnecessary outgoing port 2024-01-31 14:33:43 +01:00
DavidVentura 89534822ab more refactor 2024-01-31 14:30:30 +01:00
DavidVentura 98800d97bf rename 2024-01-31 12:16:10 +01:00