QuantumEntangledAndy
0f7598e9fc
Merge branch 'master' of github.com:thirtythreeforty/neolink into motion_stream
2021-11-29 10:00:12 +07:00
George Hilliard
324d14e3f2
Merge pull request #217 from thirtythreeforty/unify-structs
...
Re-unify single-camera command structs and code
2021-11-01 10:04:08 -05:00
George Hilliard
81b148f6cd
Allow --config anywhere in CLI
...
Since clap doesn't support required + global, do our own insisting.
2021-10-29 01:24:02 -05:00
George Hilliard
fdd50f9dc0
Refactor: move single-camera boilerplate to utils.rs
2021-10-29 01:09:09 -05:00
George Hilliard
de39e7ed2a
Re-unify configuration files
...
Unfortunately the grammar of the --config parameter is a bit of a
football right now; previously you were allowed to specify it anywhere
because there wasn't much in the way of a CLI, then when subcommands
were added it became required to specify it after the subcommand.
This change makes it so that it must be specified *before* the
subcommand. Ideally it would just be required *somewhere* in the
command line but clap doesn't support "global" for required arguments
(and it is indeed required).
On the whole, I'm okay with the change - the net win of having a unified
config struct makes up for the ergonomics hit in my opinion, and it
unlocks some further refactoring I will do next.
2021-10-29 00:25:54 -05:00
Andrew King
f10f9f9706
Merge pull request #199 from QuantumEntangledAndy/udp_proto
2021-10-29 09:41:23 +07:00
George Hilliard
e194d8dc02
Merge pull request #198 from QuantumEntangledAndy/newer_enc
...
Disable Support for 03 Encryption
2021-10-27 10:56:00 -05:00
QuantumEntangledAndy
1c218b3587
Add some notes to the paused inputs
2021-10-08 10:46:19 +07:00
QuantumEntangledAndy
dea3cbdb39
Make paused sources more customisable
...
Add audio paused source
2021-10-07 17:35:16 +07:00
QuantumEntangledAndy
f1baaf7458
Add a still mode to paused streams
2021-10-07 15:16:42 +07:00
QuantumEntangledAndy
35c53fba90
Handle case of invalid active-pad
2021-10-06 16:08:10 +07:00
QuantumEntangledAndy
880c06bce9
Limit keep alive messages
2021-10-06 16:07:53 +07:00
QuantumEntangledAndy
8aa8345d87
Use input select for when stream is paused
2021-10-03 14:50:45 +07:00
QuantumEntangledAndy
80d28440b3
Remove unused error enum
2021-10-03 14:50:27 +07:00
QuantumEntangledAndy
7ec17c0cc5
Ensure camera accepts stream start command
2021-10-03 14:50:13 +07:00
QuantumEntangledAndy
982d7aa199
Using a sharable struct to track stream state
2021-10-02 14:35:00 +07:00
QuantumEntangledAndy
13690d723f
Added a timeout to the motion based stream
2021-09-16 12:32:40 +07:00
QuantumEntangledAndy
62a694fbe4
Added basic motion based streaming
2021-09-16 11:45:09 +07:00
Andrew
02bd3fb606
Merge branch 'motion' into motion_stream
2021-09-14 14:04:17 +07:00
QuantumEntangledAndy
f70a93ac56
Register the default ip address during the remote discovery
2021-09-08 17:02:19 +07:00
Andrew King
a301944298
Apply suggestions from code review
2021-09-08 16:29:03 +07:00
QuantumEntangledAndy
79e012647a
Read me updates
2021-09-08 15:19:42 +07:00
QuantumEntangledAndy
ad0b79eec5
Add comments to the udp crc
2021-09-08 11:50:53 +07:00
QuantumEntangledAndy
9b23d8dbfc
Add Uid as a seperate field into the config
2021-09-08 11:45:37 +07:00
QuantumEntangledAndy
8327a8348b
Reference battery before udp in the readme
2021-09-06 20:31:55 +07:00
QuantumEntangledAndy
7d95663d90
Remove ping every
2021-09-06 20:30:52 +07:00
QuantumEntangledAndy
8b85042fe8
Removed unneeded code in the udp description
2021-09-06 20:26:01 +07:00
QuantumEntangledAndy
6c69acf0cb
Use fastcrc crate for udp crc
2021-09-06 18:31:40 +07:00
Andrew King and George Hilliard
f07d3ce318
Update sample_config.toml
...
Co-authored-by: George Hilliard <thirtythreeforty@gmail.com >
2021-09-04 09:23:34 +07:00
Andrew King and George Hilliard
162bdf85cc
Update crates/core/src/bcudp/model.rs
...
Co-authored-by: George Hilliard <thirtythreeforty@gmail.com >
2021-09-04 09:20:07 +07:00
Andrew King and George Hilliard
3516af13ba
Typo in BcUdp
...
Co-authored-by: George Hilliard <thirtythreeforty@gmail.com >
2021-09-04 09:19:39 +07:00
Andrew King
cf54129b5c
Merge pull request #206 from troyrollo/swann-channel-fix
...
Fix IFrame and PFrame identification for Swann DVRs
2021-09-03 12:52:57 +07:00
Troy Rollo
1094cdf713
Fix IFrame and PFrame identification for Swann DVRs
2021-09-01 22:30:14 +10:00
QuantumEntangledAndy
6848a793ca
Clean up duplication merge issue
2021-08-31 21:28:40 +07:00
QuantumEntangledAndy
2dcb807b74
Update lock file
2021-08-31 20:56:50 +07:00
QuantumEntangledAndy
a036c38b1b
Merge branch 'master' of github.com:thirtythreeforty/neolink into udp_proto
2021-08-31 20:56:29 +07:00
QuantumEntangledAndy
7ab46e4273
Clean up files
2021-08-31 20:55:12 +07:00
QuantumEntangledAndy
af1e52b850
Send UDP disconnect when UDP is finished
2021-08-31 20:47:34 +07:00
QuantumEntangledAndy
08d174a89d
Fix to the more complex udp ack
2021-08-31 20:47:34 +07:00
QuantumEntangledAndy
0fbde1f5f9
Attempt to handle more complex udp acknoledgements
2021-08-31 20:47:34 +07:00
QuantumEntangledAndy
1d841714c1
Use correct body size on dissector
2021-08-31 20:47:34 +07:00
QuantumEntangledAndy
f2a6349203
Adjust how neoliknk handles udp resend
2021-08-31 20:47:34 +07:00
QuantumEntangledAndy
dae1fd3761
Update udp doc
2021-08-31 20:47:34 +07:00
QuantumEntangledAndy
b8cab8f68d
Make dissector add the ports table upon detection for udp too
2021-08-31 20:47:34 +07:00
QuantumEntangledAndy
4b8d16d028
Add luacheck and make dissector compilent
2021-08-31 20:47:34 +07:00
QuantumEntangledAndy
ea4de74e8d
Readded Bc<->Bc messages to dissector
...
Also added them to the heurestic check
2021-08-31 20:47:34 +07:00
QuantumEntangledAndy
73204acf52
Added payload to udpack in dissector
2021-08-31 20:47:34 +07:00
QuantumEntangledAndy
33a227420a
Udp Layer rewrite
...
Using a keep alive message
Restructed udp into modules
Using all interfaces broadcast address (ipv4)
Using remote discovery if local fails
2021-08-31 20:47:34 +07:00
QuantumEntangledAndy
d432f7862d
Update to the udp dissector
2021-08-31 20:47:23 +07:00
QuantumEntangledAndy
884b7c600d
Handle camera hang up on udp
2021-08-31 20:47:23 +07:00