Commit Graph
228 Commits
Author SHA1 Message Date
David Ventura c308307fea Merge pull request #11 from adrcunha/patch-3
Trigger debug output in handlers.ts according to --debug
2024-04-28 00:51:31 +02:00
Adriano Cunha ca6928aa7c Merge branch 'master' into patch-3 2024-04-27 13:01:17 -07:00
David Ventura 632308a50e Merge pull request #13 from adrcunha/patch-1
Add a few user-friendly messages to pair.ts for first-timers
2024-04-27 13:32:18 +02:00
Adriano Cunha 40bb81f22e Add a few user-friendly messages to pair.ts for first-timers 2024-04-26 17:29:53 -07:00
Adriano Cunha e9487f9603 Add a few user-friendly messages to pair.ts for first-timers
Also fix the session handling, allowing a camera to be reconnected and recognized again.
2024-04-26 08:51:06 -07:00
Adriano Cunha 82d9115ae6 Merge branch 'DavidVentura:master' into master 2024-04-26 08:47:36 -07:00
Adriano Cunha 31baea2415 Trigger debug output in handlers.ts according to --debug 2024-04-26 08:42:42 -07:00
David Ventura da867078b1 Merge pull request #10 from adrcunha/patch-3
Remove the `pair` target
2024-04-26 17:41:39 +02:00
David Ventura dc75519f3d Merge pull request #9 from adrcunha/patch-2
Drop newline in the activity indicator
2024-04-26 17:41:14 +02:00
David Ventura 8246ea52ef Merge pull request #8 from adrcunha/patch-1
Update instructions in README
2024-04-26 17:40:19 +02:00
Adriano Cunha 72de55b26f Remove the pair target
Now that `pair` requires parameters and SSID/password have no defaults, this target doesn't work.
2024-04-26 08:30:33 -07:00
Adriano Cunha 6b5026dcf1 Drop newline in the activity indicator
The "." character is printed on a new line every 2s to indicate that the discovery process is running. However, using a new line unnecessary floods the output log; switch to printing "." without a newline, keeping the activity indicator while also drastically reducing the number of lines in the output log.
2024-04-26 08:24:55 -07:00
Adriano Cunha a3a5a9404c Update instructions in README
Update instructions a bit for first-time users, fix a few typos.
2024-04-26 08:18:20 -07:00
David Ventura 23f765371b Add build action v0.1 2024-04-26 10:32:56 +02:00
David Ventura e77a3c27fe move actions to package.json 2024-04-26 10:32:56 +02:00
David Ventura 04baa7ad9a add usage notes 2024-04-26 10:32:56 +02:00
David Ventura 639a78419e refactor to allow bundling 2024-04-26 10:32:56 +02:00
David Ventura 1c6312e0c9 Merge pull request #7 from adrcunha/adrcunha-patch-2
Set discovery_ip in http_server.ts back to 192.168.1.255
2024-04-24 09:03:26 +02:00
David Ventura 1dea1373e3 Merge pull request #6 from adrcunha/patch-1
Update opts in pair.ts
2024-04-24 09:03:00 +02:00
Adriano Cunha 783e61cba2 Set discovery_ip in http_server.ts back to 192.168.1.255
The previous value (192.168.40.104) seems to be leftover debugging, as it's not a broadcast address and thus causes the server not to find any cameras.
2024-04-23 22:12:41 -07: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 cf45216693 impl stopvideo 2024-02-02 12:07:07 +01:00
DavidVentura 737f0248b2 add support for audio streaming 2024-02-02 12:06:44 +01:00
DavidVentura 75f559a3ce consider the packet sequence in audio frames, as they are shared with jpeg frames 2024-02-02 12:06:16 +01:00
DavidVentura 2db1e8d9f3 add IRToggle 2024-02-01 18:09:19 +01:00
DavidVentura 2a55a7048f add note on packet loss 2024-02-01 18:06:47 +01: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 92dbd8354c add vlan note 2024-02-01 17:54:11 +01:00
DavidVentura cfbdeaa0d0 cleanup dissector 2024-02-01 16:25:30 +01:00
DavidVentura 94070b6e33 stop masking commands 2024-02-01 13:14:39 +01:00
DavidVentura 85a4b71e46 debug XqStrDec 2024-02-01 13:14:29 +01:00
DavidVentura 2215cf5b5c validate env vars are set 2024-02-01 13:14:14 +01:00
DavidVentura dcbf6bf925 braindump 2024-02-01 13:08:27 +01:00
DavidVentura edd4f5d6f5 add node with server decoder 2024-02-01 12:51:46 +01:00
DavidVentura bc2856eb07 add server decode script 2024-02-01 12:51:36 +01:00
DavidVentura 599488f0bb add pic 2024-01-31 18:49:40 +01:00
DavidVentura 89435cd4ec fix import 2024-01-31 18:28:27 +01:00
DavidVentura 9a37f97960 add build step 2024-01-31 18:28:16 +01:00
DavidVentura 7d2160f07f support multiple streams concurrently 2024-01-31 18:06:52 +01:00
DavidVentura 5379266fc8 implement pair command 2024-01-31 16:38:23 +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 f7eb287d5b add a trivial home page to link multiple cameras 2024-01-31 16:21:03 +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 2924eaab79 typo 2024-01-31 14:34:38 +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 2d2e56231a rename 2024-01-31 12:16:22 +01:00