Commit graph

70 commits

Author SHA1 Message Date
Ivan Belokobylskiy
c18391b134 bump version 2025-03-26 12:10:23 +04:00
Ivan Belokobylskiy
310fe3be45 refactor initial setup for binary proto 2025-03-26 11:57:41 +04:00
Ivan Belokobylskiy
d4f72855ec use all BinaryCommands in enum 2025-03-26 11:57:41 +04:00
Ivan Belokobylskiy
d8e0e01a3e extract ticket from extended response to login only 2025-03-26 11:57:41 +04:00
Ivan Belokobylskiy
b054d2ce9c Update README 2025-03-26 11:57:41 +04:00
Ivan Belokobylskiy
78b60df97b demo server handles all tasks to raise on exceptions 2025-03-26 11:57:41 +04:00
Ivan Belokobylskiy
e61cccee53 optimize parsing results 2025-03-26 11:57:41 +04:00
Ivan Belokobylskiy
eb6a17f342 early parse binary commands 2025-03-26 11:57:41 +04:00
Ivan Belokobylskiy
5bfe15b5c2 use little-endian for binary commands 2025-03-26 11:57:41 +04:00
Ivan Belokobylskiy
f6cb73a255 simplify ConnectUser payload formatting 2025-03-26 11:57:41 +04:00
Ivan Belokobylskiy
8cf305fe0a fix parsing empty response for DevStatusAck 2025-03-26 11:57:41 +04:00
Ivan Belokobylskiy
5b6b9c311b handle errors during initial setup in demo webserver 2025-03-26 11:57:41 +04:00
Ivan Belokobylskiy
c70e39eb2a fix binary cam initial setup 2025-03-26 11:57:41 +04:00
Ivan Belokobylskiy
e788e3d12f add more logging 2025-03-26 11:57:41 +04:00
Ivan Belokobylskiy
aabbe9d920 remove reusing port for http server 2025-03-26 11:57:41 +04:00
Ivan Belokobylskiy
ee13bfaa3c extract sending initial packets in method 2025-03-26 11:57:41 +04:00
Ivan Belokobylskiy
e548869ebe use 0 for unknown cc_dest 2025-03-26 11:57:41 +04:00
Ivan Belokobylskiy
a701db39ba binary: extend str for BinaryCmdPacket 2025-03-26 11:57:41 +04:00
Ivan Belokobylskiy
34fd774391 debug: wrong length debug 2025-03-26 11:57:40 +04:00
Ivan Belokobylskiy
6c0f0e34be use BinarySession if PunchPkt is not encoded 2025-03-24 13:02:31 +04:00
Ivan Belokobylskiy
ca18f6aeed Initial support for binary protocol 2025-03-24 13:02:31 +04:00
Ivan Belokobylskiy
83dfb54881 add binary camera emulator 2025-03-24 13:02:31 +04:00
Ivan Belokobylskiy
19c09ee0f7 forward errors in session tasks to device processing flow 2025-03-24 12:50:39 +04:00
Ivan Belokobylskiy
01c69da79d allow providing credentials via cmd parameters 2025-03-24 12:29:04 +04:00
Ivan Belokobylskiy
b531d3a00a wait for all p2p rdy packets to start sending commands 2025-03-19 11:47:58 +04:00
Ivan Belokobylskiy
ee6b4a9922 add log level parameter 2025-03-15 14:55:42 +04:00
Ivan Belokobylskiy
8d9e0df296 Update README 2025-03-08 19:30:00 +04:00
Ivan Belokobylskiy
0ed8f63a1c use dynamic version in pyproject.toml 2025-03-08 19:30:00 +04:00
Ivan Belokobylskiy
6a58527c73 handle asyncio.wait properly 2025-03-08 19:30:00 +04:00
Ivan Belokobylskiy
be9a31bdab less verbose debug 2025-03-08 19:30:00 +04:00
Ivan Belokobylskiy
0041dd4a6e add info sample 2025-03-08 19:30:00 +04:00
Ivan Belokobylskiy
0369ca20eb handle auth errors 2025-03-07 21:28:13 +04:00
Ivan Belokobylskiy
68cfb6def3 introduce device class 2025-03-07 21:28:13 +04:00
Ivan Belokobylskiy
67d1cc51e8 no ack on reboot 2025-03-07 21:28:13 +04:00
Ivan Belokobylskiy
b3a28a66ea stop discovery on device found in connect fn 2025-03-07 21:28:13 +04:00
Ivan Belokobylskiy
5e725719f3 discovery no longer stores found devices 2025-03-07 21:28:13 +04:00
Ivan Belokobylskiy
d222995bfc correct disconnection 2025-03-07 21:28:13 +04:00
Ivan Belokobylskiy
1e42798816 update README 2025-03-07 21:28:13 +04:00
Ivan Belokobylskiy
f09d7e4b37 assume all encrypted cameras work by json-protocol 2025-03-07 21:28:13 +04:00
Ivan Belokobylskiy
c7c9b51c69 handle recursive stopping 2025-03-07 21:28:13 +04:00
Ivan Belokobylskiy
649c3fc836 allow providing custom credentials 2025-03-07 21:28:13 +04:00
Ivan Belokobylskiy
341e4a480b fix webserver shutdown 2025-03-07 21:28:13 +04:00
Ivan Belokobylskiy
1493288be1 rewrite commands handling, add waiters 2025-03-07 21:28:13 +04:00
Ivan Belokobylskiy
988c1f38e5 add convenient functions 2025-03-07 21:28:13 +04:00
Ivan Belokobylskiy
45bbb52213 codestyle 2025-03-07 21:28:13 +04:00
Ivan Belokobylskiy
67a40ae815 request video on demand only 2025-03-07 21:28:13 +04:00
Ivan Belokobylskiy
abe06dd8d5 handle packets from prev epoch 2025-03-07 21:28:13 +04:00
Ivan Belokobylskiy
8fdfc5321e add '--' to boundary for go2rtc-1.9.4 2025-03-07 21:28:13 +04:00
Ivan Belokobylskiy
d1820836c7 add content-length to frames for go2rtc 2025-03-07 21:28:13 +04:00
Ivan Belokobylskiy
23164dddc6 adjust timings for ptz 2025-03-07 21:28:13 +04:00