252 Commits
Author SHA1 Message Date
QuantumEntangledAndy eaded82874 Add lower case factory paths 2023-01-19 14:35:31 +07:00
QuantumEntangledAndy 3a1793f43f Release 0.5.0 2023-01-09 15:43:50 +07:00
QuantumEntangledAndy 5bd5703885 Upgrade deperataed github actions 2023-01-09 15:02:57 +07:00
QuantumEntangledAndy 627a10f0ac Add mqtt messages to the docs 2022-12-22 09:16:15 +07:00
QuantumEntangledAndy 90e21e9916 Add example configurations in the doc 2022-12-22 09:16:15 +07:00
QuantumEntangledAndy 10eecf416c Added PTZ controls 2022-12-22 09:16:15 +07:00
QuantumEntangledAndy 9f3c482f51 Added optional amount to ptz controls 2022-12-22 09:16:15 +07:00
QuantumEntangledAndy 9a524afa84 Start work on new commands 2022-12-22 09:16:15 +07:00
QuantumEntangledAndy 2d7b3e765e Change how we check for missing mqtt settings 2022-12-22 09:16:15 +07:00
QuantumEntangledAndy 1c9be03fd3 Move H265 and H264 parsing and rtp into required 2022-12-16 15:47:44 +07:00
QuantumEntangledAndy f710f5385b Better prompt on what needs to be done 2022-12-16 15:47:44 +07:00
QuantumEntangledAndy cc2c6ffc3b Add check for gstreamer plugins 2022-12-16 15:47:44 +07:00
QuantumEntangledAndy 6fac0097dd Major changes to streaming protocol 2022-12-14 09:59:57 +07:00
Kevin David 063855f720 Satisfy Rustfmt requirements 2022-12-12 12:18:58 +07:00
Kevin David c19bba9235 Improve MQTT documentation, example config
Also print an error message when the configuration isn't present but the `mqtt` subcommand is used. Without this, the program just exits without any messsages.
2022-12-11 13:07:23 +07:00
QuantumEntangledAndy b80144492e Use newer config for mqtt 2022-11-28 19:35:10 +07:00
QuantumEntangledAndy edf89dc993 Merge and clippy fixes 2022-11-28 15:22:48 +07:00
QuantumEntangledAndy 2114af085d Merge branch 'motion_stream' 2022-11-28 10:17:08 +07:00
QuantumEntangledAndy 6a2ed051d3 Merge branch 'mqtt_cmd' 2022-11-28 10:12:35 +07:00
QuantumEntangledAndy 561f978635 Merge branch 'motion'
Conflicts:
	crates/core/src/bc_protocol.rs
	crates/core/src/bc_protocol/stream.rs
	src/rtsp/mod.rs
2022-11-28 10:04:41 +07:00
QuantumEntangledAndy 1923bb8439 Explicit return type in closure 2022-06-25 07:12:08 +07:00
QuantumEntangledAndy 9ef394ff1d Abort all camera streams when one fails 2022-06-21 11:15:54 +07:00
QuantumEntangledAndy 83ea1b4edd Handle multiple streams on the same login 2022-06-21 10:55:51 +07:00
QuantumEntangledAndy 11a4ec921d Apply clippy lints 2022-06-21 10:29:06 +07:00
Joris Bremond a49a9d248f Format code 2022-06-12 14:24:37 +02:00
jbremond 63e9026191 Merge branch 'thirtythreeforty:master' into master 2022-06-12 14:23:10 +02:00
Joel Bradshaw a594018762 Fix typo in help for talk command
It reference changing lights, rather than talking
2022-05-29 17:20:25 -07:00
Joris Bremond 2b56705172 Rename command from motion to pir 2022-05-14 14:23:01 +02:00
Joris Bremond 9f1bcd6f55 Add new motion command to set PIR sensor ON or OFF on battery powered camera
tested on reolink argus pro
2022-05-09 22:38:28 +02:00
QuantumEntangledAndy a33897ec2c Bug and clippy lint squashing 2022-01-17 21:02:48 +07:00
QuantumEntangledAndy e436b27e63 Merge branch 'master' of github.com:thirtythreeforty/neolink into mqtt_cmd 2022-01-17 15:59:11 +07:00
QuantumEntangledAndy 0f7598e9fc Merge branch 'master' of github.com:thirtythreeforty/neolink into motion_stream 2021-11-29 10:00:12 +07: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
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 8aa8345d87 Use input select for when stream is paused 2021-10-03 14:50:45 +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
Andrew King a301944298 Apply suggestions from code review 2021-09-08 16:29:03 +07:00
QuantumEntangledAndy 9b23d8dbfc Add Uid as a seperate field into the config 2021-09-08 11:45:37 +07:00
QuantumEntangledAndy a036c38b1b Merge branch 'master' of github.com:thirtythreeforty/neolink into udp_proto 2021-08-31 20:56:29 +07:00
QuantumEntangledAndy 7a5def551d Use ports 2015 and 2018 for UDP discovery
Also add remote discovery but it is disabled for now
2021-08-31 20:47:23 +07:00
QuantumEntangledAndy 1883e5362e Merge branch 'master' of github.com:thirtythreeforty/neolink into motion 2021-08-31 20:37:13 +07:00
QuantumEntangledAndy 5bf46f170e Make streams abortable like motion 2021-08-31 20:26:30 +07:00