Alex X
6374366da5
Add support xiaomi isa.camera.df3 on old firmwares
2026-01-21 22:26:16 +03:00
Alex X
8f68f80bff
Add support xiaomi chuangmi.camera.ipc019e
2026-01-20 20:51:40 +03:00
Alex X
2f9d138692
Fix zero channel for xiaomi source #2047
2026-01-20 17:05:14 +03:00
Alex X
366cbd200d
Fix unknown msg 0xF0 for cs2 proto
2026-01-20 14:24:27 +03:00
Alex X
7793a55853
Add support xiaomi lumi.camera.gwagl01
2026-01-20 14:18:03 +03:00
Alex X
06cbbe5543
Add support xiaomi isa.camera.isc5c1
2026-01-19 21:55:07 +03:00
Alex X
a37fdf38d8
Add support xiaomi chuangmi.camera.v2 on old firmwares
2026-01-19 18:17:38 +03:00
seydx
160695857e
refactor
2026-01-17 20:22:08 +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
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
Alex X
b19c081642
Improve cs2+udp proto for xiaomi source
2026-01-13 12:13:58 +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
Alex X
d4dc670cb5
Add support two-way audio for Dafang camera
2026-01-02 10:19:58 +03:00
Alex X
e77210f916
Improve support tutk vendor for xiaomi source
2026-01-01 09:28:02 +03:00
Alex X
44da81774c
Add recv/send counters to xiaomi source
2026-01-01 08:42:36 +03:00
Alex X
4dae65a535
Fix audio sample rate for some xiaomi cameras #2006
2025-12-31 17:55:47 +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