Alex X
fc22b20896
Fix ONVIF server support for Unifi Protect #1994
2026-01-18 22:47:04 +03:00
Alex X
af819952e8
Improve ONVIF server support #1299
2026-01-18 21:51:05 +03:00
Alex X
8c457710bd
Merge pull request #2011 from seydx/wyze
...
Native Wyze camera support
2026-01-18 08:39:37 +03:00
Alex X
514188201a
Move tutk dtls to separate package #2011
2026-01-18 08:38:38 +03:00
Alex X
b65ee278cd
Merge pull request #1991 from FIGIO55/onvif_info
...
Adding onvif name and hardware in info field of onvif discovery
2026-01-18 07:55:20 +03:00
Alex X
66225973ae
Code refactoring for onvif device discovery #1991
2026-01-18 07:54:48 +03:00
seydx
d40f6064d9
refactor dtls
2026-01-17 23:28:03 +01:00
seydx
9365fef7b3
move HL extraction to wyze client
2026-01-17 22:44:09 +01:00
seydx
b220959e41
cleanup
2026-01-17 22:12:36 +01:00
seydx
c493087876
fix intercom
2026-01-17 20:50:57 +01:00
seydx
679454aedb
Merge branch 'master' into wyze
2026-01-17 20:31:05 +01:00
seydx
160695857e
refactor
2026-01-17 20:22:08 +01:00
forrestsocool
572f07fcce
Add two-way talk support for tp-link ipc camera ( #1995 )
...
* add tplink multitrans support
* 已经能成功播放音频了
* 初步能通讯了
* finish
* add tplink multitrans support
* 已经能成功播放音频了
* 初步能通讯了
* cleanup
* clean up
* Code refactoring for #1995
---------
Co-authored-by: Your Name <you@example.com >
Co-authored-by: Alex X <alexey.khit@gmail.com >
2026-01-17 21:39:49 +03:00
Alex X
f85cfdc214
Merge pull request #2019 from binary-person/patch-1
...
fix typo for inability to set channels for backchannel
2026-01-17 19:06:00 +03:00
seydx
c03cd9f156
minor improvements
2026-01-17 12:09:38 +01:00
seydx
8e6b8b32d6
Merge branch 'AlexxIT:master' into wyze
2026-01-17 09:40:49 +01:00
Alex X
425fcffbe1
Code refactoring for xiaomi source
2026-01-17 10:06:13 +03:00
Alex X
4ffdeb06d0
Merge branch 'xiaomi'
...
# Conflicts:
# pkg/xiaomi/miss/client.go
# pkg/xiaomi/miss/cs2/conn.go
# pkg/xiaomi/producer.go
2026-01-17 09:23:23 +03:00
Alex X
6b4eb8ffb6
Big rewrite tutk proto support
2026-01-17 09:05:54 +03:00
seydx
7498d0fba5
copy audio payload before processing in handleAudio function
2026-01-15 22:51:58 +01:00
seydx
50d9aab0d7
change pcm to pcml
2026-01-15 22:50:46 +01:00
seydx
4dbf53122e
enable video and audio in buildK10002 again
2026-01-15 12:12:08 +01:00
seydx
f96a074957
refactor timestamp handling
2026-01-15 01:25:35 +01:00
seydx
dbd04cb972
refactor frame handling
2026-01-15 01:11:16 +01:00
seydx
0d035e5bce
update ack hangling to improve streaming
2026-01-15 01:11:06 +01:00
seydx
7241759fea
disable video and audio by default in buildK10002; start them later in probe
2026-01-15 01:10:41 +01:00
seydx
b067c408c0
add missing codecs
2026-01-14 19:12:04 +01:00
seydx
a99590823b
allow to specify custom port
2026-01-14 19:11:53 +01:00
seydx
3bf2b316d7
Merge branch 'AlexxIT:master' into wyze
2026-01-13 21:50:10 +01:00
Alex X
2f43bfe5dc
Fix two-way audio for cs2+tcp proto for xiaomi source
2026-01-13 21:26:01 +03:00
Alex X
59161fcef2
Improve cs2+udp proto for xiaomi source #2026 #2030
2026-01-13 21:25:30 +03:00
seydx
9ca9f96ea2
cleanup and update readme
2026-01-13 17:24:36 +01:00
seydx
bc0c8d5577
use random session id in auth process
2026-01-13 16:48:41 +01:00
Alex X
fd68107940
Add "bad conn" for debugging UDP
2026-01-13 12:15:48 +03:00
Alex X
b19c081642
Improve cs2+udp proto for xiaomi source
2026-01-13 12:13:58 +03:00
seydx
039e916030
cleanup
2026-01-12 19:57:38 +01:00
seydx
3a587c9cee
simplify SID generation
2026-01-12 13:56:52 +01:00
seydx
25e3125a89
Skip unsupported cameras (gwell based)
2026-01-12 11:22:25 +01:00
seydx
439dccf4bd
cleanup
2026-01-12 11:03:53 +01:00
seydx
5fcb33c0cd
Enhance video resolution handling by adding model-specific logic and updating subtype parsing
2026-01-12 11:00:28 +01:00
seydx
c5311cdd94
Add keepalive command and sequence handling to new protocol
2026-01-12 10:34:05 +01:00
seydx
3dcb6dfc48
Merge branch 'AlexxIT:master' into wyze
2026-01-12 03:21:35 +01:00
seydx
406159cce5
refactor
2026-01-12 03:15:48 +01:00
seydx
659a042c42
Implement new authentication commands and improve PSK handling
2026-01-12 02:13:00 +01:00
Alex X
e614513b97
Fix formats table in readme
2026-01-11 19:57:52 +03:00
Alex X
dab9efb7d0
Merge pull request #2029 from Johnnybyzhang/master
...
xiaomi/cs2: fix TCP keepalive to match official Mi Home app
2026-01-11 19:55:23 +03:00
Alex X
eb39b80883
Fix login to Xiaomi account with captcha #1985
2026-01-11 16:46:23 +03:00
Johnnybyzhang
ff04a0d4b2
xiaomi/cs2: reduce TCP keepalive interval to 1 second
...
Based on PCAP analysis of official Mi Home app traffic:
- Official app sends PING every ~1 second
- Previous 5-second interval was too slow, causing connection resets
Simply reduce keepalive timeout from 5s to 1s.
2026-01-11 20:26:34 +08:00
Johnnybyzhang
c4b32e3a0b
xiaomi/cs2: fix TCP keepalive to match official Mi Home app
...
Based on PCAP analysis of official Mi Home app traffic, the keepalive
mechanism was incorrect:
Before (broken):
- Sent PING every 5s only when receiving data
- Responded to PING with PONG
After (fixed):
- Send PING every 1 second independently via dedicated goroutine
- Don't respond to PING with PONG (official app doesn't either)
- Both sides send PING bidirectionally as heartbeats
The official app sends 199 PING messages and 0 PONG messages in a
typical session. This fix matches that behavior.
Fixes connection resets after prolonged streaming sessions with
Xiaomi cameras using the CS2 P2P protocol.
2026-01-11 14:57:50 +08:00
seydx
58d8a86a92
cleanup
2026-01-10 10:46:26 +01:00