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
seydx
29f966f280
Fix intercom for new firmware
2026-01-10 03:13:41 +01:00
seydx
cbaa147469
Update README.md for Wyze cameras
2026-01-10 02:44:27 +01:00
seydx
c55fa87827
Update README.md to include details on NEW Protocol (0xCC51) for Wyze cameras
2026-01-10 02:44:07 +01:00
seydx
84e13d9d22
Add support for latest wyze firmware
2026-01-10 02:42:47 +01:00
Alex X
e960f90a97
Add formats and protocols to readme
2026-01-05 10:17:08 +03:00
seydx
263579fa01
cleanup
2026-01-03 16:12:37 +01:00
seydx
90c0b513e9
cleanup
2026-01-03 15:41:37 +01:00
seydx
cfbba5a52c
comments
2026-01-02 16:52:55 +01:00
seydx
c74a39a30d
cleanup
2026-01-02 16:51:23 +01:00
seydx
4cff72c9a3
Refactor discovery and session setup logic
2026-01-02 02:22:14 +01:00
seydx
7d4b3fe65b
Merge branch 'AlexxIT:master' into wyze
2026-01-01 05:25:58 +01:00
seydx
a42ab88dbd
add wyze support
2026-01-01 05:24:45 +01:00
Alex X
4dae65a535
Fix audio sample rate for some xiaomi cameras #2006
2025-12-31 17:55:47 +03:00
Alex X
9b618f45d0
Rewrite webrtc listen logic #1890 #1892
2025-12-26 22:56:39 +03:00
Alex X
2f470fa518
Add support cs2+tcp protocol for xiaomi source
2025-12-26 12:53:52 +03:00
Alex X
5b1da84ae2
Add TUTK protocol to xiaomi source
2025-12-22 00:00:33 +03:00
Alex X
7119384184
Fix backchannel audio for xiaomi chuangmi.camera.72ac1
2025-12-14 17:58:17 +03:00
Alex X
57b0ace802
Add vendor name to xiaomi unsupported vendor message
2025-12-14 17:18:25 +03:00
Alex X
b0f46bc919
Fix backchannel audio for xiaomi isa.camera.hlc6
2025-12-14 17:17:52 +03:00
Alex X
a4d4598a13
Add support xiaomi source
2025-12-14 13:07:45 +03:00
Alex X
fb31a251b8
Improve fetch for exec source
2025-12-13 14:00:16 +03:00
Alex X
c5277daa45
Add UnmarshalHeader func to OPUS codec
2025-12-11 22:01:36 +03:00