Commit Graph
944 Commits
Author SHA1 Message Date
QuantumEntangledAndy cf6d266508 Allow config alterations to change the avaliable rtsp streams 2023-09-03 23:49:57 +07:00
QuantumEntangledAndy 71e9830643 Use reactor for rtsp 2023-09-03 09:57:19 +07:00
Andrew 1da4472ca8 Merge branch 'master' into refractor/neo_reactor 2023-08-31 07:10:24 +07:00
QuantumEntangledAndy ff2591e544 Changes to discovery
- Timeout is longer
- Number of retries configurable with max_retries in config
- Longer wait between resend
- Don't send multiple to same reg sever
2023-08-30 23:54:53 +07:00
QuantumEntangledAndy 23f5f11b27 WIP Reactor 2023-08-30 23:20:07 +07:00
QuantumEntangledAndy 746d449639 Imporve error recognition in stream 2023-08-27 18:04:01 +07:00
QuantumEntangledAndy 210e6690ce Imporve stream restart logic 2023-08-27 16:08:35 +07:00
QuantumEntangledAndy d068eeefc7 Breakout reactor code to modules 2023-08-27 15:25:35 +07:00
QuantumEntangledAndy 1e64192da5 Use reactor for image command 2023-08-27 14:34:04 +07:00
QuantumEntangledAndy 66637998a6 Use reactor with simple commands 2023-08-25 12:19:29 +07:00
Andrew b200288b38 Start Neoreactor
This is centralised reconnect managment that allows async retries over reconnects of the camera
2023-08-25 09:54:20 +07:00
QuantumEntangledAndy 0768bcf959 Send pings regardless of state 2023-08-21 19:10:46 +07:00
QuantumEntangledAndy 48892344b8 Add pings to the camera while paused 2023-08-21 11:00:45 +07:00
QuantumEntangledAndy cc275ed02e Remove the stop on error 2023-08-21 09:34:42 +07:00
QuantumEntangledAndy 9786953e5f Change some timeouts and send ack less often 2023-08-21 09:32:02 +07:00
QuantumEntangledAndy bdc6fad818 Use send over send_all 2023-08-19 10:40:32 +07:00
QuantumEntangledAndy ff569dc15b Low level ack and send on their own threads 2023-08-18 12:36:06 +07:00
QuantumEntangledAndy ea2cad06ea Fix motion paues flag tracking 2023-08-16 19:13:02 +07:00
QuantumEntangledAndy 4030f4a9cd Don't unwrap in production 2023-08-16 19:00:53 +07:00
QuantumEntangledAndy 13c06afc67 Log cleanup 2023-08-16 18:54:00 +07:00
QuantumEntangledAndy d64dbdb027 Default false should return false 2023-08-16 18:34:02 +07:00
QuantumEntangledAndy 8f21ace578 Abort the inner udp handle on drop 2023-08-16 11:56:34 +07:00
QuantumEntangledAndy e08bb66891 v0.5.18 v0.5.18 2023-08-15 19:02:06 +07:00
Andrew 173c994530 Merge branch 'fix/snap' 2023-08-15 19:00:18 +07:00
Andrew 95ce97c85e Merge branch 'refractor/udp_layer' 2023-08-15 19:00:09 +07:00
Andrew 9087169873 Merge branch 'feature/motion_ai' 2023-08-15 18:59:49 +07:00
QuantumEntangledAndy d08a5fe4aa Add Pref to luacheck globals 2023-08-15 18:50:29 +07:00
QuantumEntangledAndy 6a4468c8f6 Name wireshark reassembly 2023-08-15 18:14:19 +07:00
QuantumEntangledAndy d084a13eb0 Add AES decryption to dissector. REQUIRES luagcrypt 2023-08-15 18:01:42 +07:00
QuantumEntangledAndy 1cde5ec3e5 Cleanup old subscribers 2023-08-14 18:42:15 +07:00
QuantumEntangledAndy 97703bdb38 Fix for Snap on older cameras 2023-08-14 17:12:07 +07:00
QuantumEntangledAndy d0c85419eb Low level UDP timeout 2023-08-14 13:05:21 +07:00
QuantumEntangledAndy a8a306301b Rework low level UDP layer 2023-08-14 11:52:18 +07:00
QuantumEntangledAndy f23f28c12e Log cleanup 2023-08-12 11:11:01 +07:00
QuantumEntangledAndy 623fcb3fd1 Optimisation of the UDP acknoledgment flushing 2023-08-12 11:06:28 +07:00
QuantumEntangledAndy e093151db6 Add a debug option to the camera config 2023-08-10 15:17:12 +07:00
QuantumEntangledAndy eefe3dfa71 Make listen on motion as fire on AIType 2023-08-08 16:26:04 +07:00
QuantumEntangledAndy 6e8fc3ee5b Add battery sub command 2023-08-07 19:03:31 +07:00
QuantumEntangledAndy 17e8ab0f37 Add gracefull shutdown to sub commands 2023-08-07 19:03:06 +07:00
QuantumEntangledAndy 0d2f0c3e6f Also bump man cargo version number 2023-08-07 17:22:14 +07:00
QuantumEntangledAndy 0661aa8853 v0.5.17 v0.5.17 2023-08-07 16:35:38 +07:00
Andrew King a380212662 Merge pull request #127 from QuantumEntangledAndy/fix/sim_sub_disc
Fix login on new firmware
2023-08-07 16:33:12 +07:00
QuantumEntangledAndy a45bcf8761 Added enable config option 2023-08-07 10:52:16 +07:00
QuantumEntangledAndy c198f21c92 Add a latency field to the ack packet 2023-08-07 09:01:13 +07:00
QuantumEntangledAndy 5109dbba9e Only decrypt bcmecia packets where encrypt len is set 2023-08-06 19:05:04 +07:00
QuantumEntangledAndy b90d6d7eed Try AES on binary payloads 2023-08-06 17:31:08 +07:00
QuantumEntangledAndy 971c1cddf8 Match on 0x12 inside de.rs too 2023-08-05 10:10:22 +07:00
QuantumEntangledAndy 816797a32b Match both 0x02, 0x12 as the basic AES 2023-08-04 22:27:28 +07:00
QuantumEntangledAndy c3921cbb6c Try with a 0x12 for the login kind 2023-08-04 21:46:03 +07:00
QuantumEntangledAndy e93dc2fe9a Don't send -1 ack packets again 2023-08-04 21:09:56 +07:00