Commit Graph
100 Commits
Author SHA1 Message Date
David Ventura 21189a8ae9 call npm tests from make 2024-05-03 23:02:39 +02:00
David Ventura 8c71e84875 add integration test with mock server 2024-05-03 23:02:25 +02:00
David Ventura bac2b4fd4f allow the socket to be closed from the EE 2024-05-03 23:02:04 +02:00
David Ventura c81d7d4182 ignore Drw data packets that are too short to be valid 2024-05-03 18:10:42 +02:00
David Ventura a93564cd11 do not consider p2palive messages for camera liveness 2024-05-03 15:57:55 +02:00
David Ventura d7d3b91528 add debug message on corrupt frames 2024-05-03 15:57:23 +02:00
David Ventura 204677ceae implement simple retransmission scheme 2024-05-03 12:35:29 +02:00
David Ventura 03893f8d81 remove LanSearchExt, increase search interval 2024-05-03 12:35:07 +02:00
David Ventura dc43a66209 ask for wifi settings after pairing 2024-05-03 11:46:14 +02:00
David Ventura 6bed63b61f tolerate empty answers from listwifi 2024-05-03 11:45:57 +02:00
David Ventura 2a3d047f48 add logging on unhandled command acks 2024-05-03 11:38:55 +02:00
David Ventura 1edb7370cf add 2 ack types 2024-05-03 11:38:30 +02:00
David Ventura 6c7856054e remove port form log 2024-05-03 11:19:09 +02:00
David Ventura f29206a1e1 fix comments 2024-05-03 11:18:31 +02:00
David Ventura 449210ec23 send reboot command after pairing 2024-05-03 00:15:14 +02:00
David Ventura 3d003be371 update logic to consider the JPEG type stream, still consider all untagged data as JPEG 2024-05-02 22:38:01 +02:00
David Ventura 7b153d6ff8 impl startswith 2024-05-02 22:29:02 +02:00
David Ventura f5da7a34bd reduce loglevel 2024-05-02 22:28:55 +02:00
David Ventura e496b33ff5 add hdr type 2024-05-02 22:28:44 +02:00
David Ventura f9e2dc63dc add framed headers 2024-05-02 20:53:33 +02:00
David Ventura 80e50560e6 add some more fields 2024-05-02 14:53:07 +02:00
David Ventura 2ec4d603c6 remove incorrect workarounds for undetected cameras 2024-05-02 13:23:52 +02:00
David Ventura 45b8b159d1 add features 2024-05-02 13:20:51 +02:00
David Ventura c51e4f8a7a implement rotation via injecting exif headers (#19) 2024-05-02 13:18:28 +02:00
David Ventura 68fe0fb798 warn on unhandled stream packets 2024-05-02 13:18:15 +02:00
David Ventura 7ca795c917 move example file 2024-05-02 10:02:44 +02:00
David Ventura d14e16c53d warn if node version <16 2024-05-02 10:01:11 +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 b5d4ab6024 set noEmit flag on tsc 2024-05-01 13:26:56 +02:00
David Ventura 2ce568c019 trim serial/name mapping; add a log message 2024-05-01 13:17:37 +02:00
David Ventura 5a0b36f42b add links to artifacts 2024-05-01 13:17:15 +02:00
David Ventura 74863f675e remove example output from readme 2024-05-01 13:07:11 +02:00
David Ventura 9654dc2841 implement logging properly 2024-05-01 13:06:27 +02:00
David Ventura 9c19c05274 include files at build time 2024-05-01 12:44:52 +02:00
David Ventura a547546055 add slow-startup flag 2024-05-01 11:56:17 +02:00
David Ventura c4007961c7 fix makefile target 2024-05-01 11:23:32 +02:00
David Ventura 15f70b55af run tsc in ci 2024-05-01 11:23:26 +02:00
David Ventura 8f4c5f09a4 tidy up dissector 2024-05-01 11:23:16 +02:00
David Ventura 06cafff105 return nil from packet lut 2024-05-01 11:23:05 +02:00
David Ventura e2a4352659 add heuristic packet matcher 2024-05-01 10:47:00 +02:00
David Ventura 5bb0038d9b send P2PAlive immediately after P2pRdy 2024-04-30 23:16:24 +02:00
David Ventura b653368d89 fix test 2024-04-30 23:11:27 +02:00
David Ventura 66796267f2 add serial to punchpkt/p2prdy dissector 2024-04-30 12:00:37 +02:00
David Ventura 11ab1597f6 test punchpkt parsing 2024-04-30 12:00:37 +02:00
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
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
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
David Ventura 23f765371b Add build action 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
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
DavidVentura 98800d97bf rename 2024-01-31 12:16:10 +01:00
DavidVentura eecae5c9bf nicer connected check 2024-01-31 12:14:20 +01:00
DavidVentura 0b8c3a1cc5 handle connect/disconnect events 2024-01-31 12:14:06 +01:00
DavidVentura d70bef918f make audio optional 2024-01-31 12:11:32 +01:00
DavidVentura 7bdcc54bc1 abstract server a bit better 2024-01-31 12:01:00 +01:00
DavidVentura 9d671f18c9 abstract server a bit better 2024-01-31 11:56:33 +01:00
DavidVentura 0b2ac1a118 cleanup 2024-01-31 11:47:22 +01:00
DavidVentura 3045c7663a try raw 2024-01-31 10:59:55 +01:00
DavidVentura 7229f5781e add WifiSettingsSet 2024-01-31 10:58:44 +01:00
DavidVentura 5204020e7b better alignments 2024-01-31 10:33:57 +01:00
DavidVentura 51ec333ad2 add "decrypter" 2024-01-31 10:24:06 +01:00
DavidVentura a5734e47cc add note on bricking 2024-01-31 10:06:22 +01:00
DavidVentura 7530664fc9 update readme 2024-01-31 10:05:40 +01:00
DavidVentura 2beb5e97e5 add serial note 2024-01-30 20:14:36 +01:00
DavidVentura baef683b66 note on bricking 2024-01-30 20:13:46 +01:00