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
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
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
Alex X
e960f90a97
Add formats and protocols to readme
2026-01-05 10:17:08 +03: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
Alex X
76a5e160c2
Increase default dial timeout and probe timeout
2025-12-11 22:00:35 +03:00
Alex X
494daed937
Add aliases to PCMA/PCMU codecs
2025-12-11 21:59:57 +03:00
Alex X
7eb5fe0355
Add second STUN server from Cloudflare
2025-12-01 14:19:48 +03:00
Alex X
6d1a95a4e3
Merge pull request #1730 from seydx/tuya-new
...
New Tuya camera support
2025-11-25 20:36:13 +03:00
Alex X
94df080bf7
Fix MQTT url for tuya source for some regions
2025-11-25 20:13:22 +03:00
Alex X
86edd814c9
Add support new audio codec for tapo source #1954
2025-11-25 15:51:55 +03:00
Alex X
b6fe8871df
Add self-signed cert generator (not used yet)
2025-11-22 20:00:34 +03:00
Alex X
4934fa4cc1
Add support tunnels via Pinggy #1853
2025-11-22 19:59:10 +03:00
seydx
61f74820bc
Merge branch 'AlexxIT:master' into tuya-new
2025-11-20 21:00:41 +01:00
Alex X
248fc7a11a
Remove wrong timeout for http source
2025-11-20 20:03:34 +03:00
Alex X
aa0ece2d1e
Fix adts producer for VLC player support #1643
2025-11-20 17:52:08 +03:00
Alex X
68036b68c1
Fix timestamp processing for HTTP-FLV
2025-11-19 12:58:23 +03:00
seydx
4b419309a8
Merge branch 'master' of https://github.com/AlexxIT/go2rtc into tuya-new
2025-11-19 00:09:34 +01:00
Alex X
42e7a03534
Add HomeKit QR code to WebUI #1138 by @mnakada
2025-11-18 20:55:17 +03:00
Alex X
c72b205d87
Fix panic for HomeKit server proxy mode #1940
2025-11-18 20:38:04 +03:00
Alex X
2cd009646a
Remove homekit source params from streams info API
2025-11-18 19:17:26 +03:00
Alex X
8f5fce4d73
Add support HTTP-FLV with H265 from new Reolink cameras #1938
2025-11-18 16:05:51 +03:00
Alex X
d053d88ce9
Add support maxwidth/maxheight settings for homekit source
2025-11-11 15:48:12 +03:00
Alex X
158f9d3a08
Code refactoring for HomeKit server
2025-11-09 21:58:44 +03:00
Alex X
81cfcf877a
Fix HomeKit proxy EVENTs
2025-11-09 21:28:53 +03:00
Alex X
96919bf9e3
Add support uint64 to tlv8
2025-11-09 21:25:23 +03:00
Alex X
e4359ac217
Rename HomeKit structures according to specs
2025-11-09 21:24:47 +03:00
seydx
56d7a6fee4
Add comments and improve repackaging
2025-10-28 14:54:54 +01:00
seydx
292b32af99
Optimize audio frame size handling in AddTrack to reduce latency for Tuya cameras
2025-10-28 13:53:42 +01:00
seydx
33e4527042
Revert repackaging for backchannel
2025-10-28 12:58:00 +01:00
seydx
62a9046f01
Revert configurable packet size for RepackG711
2025-10-28 12:50:36 +01:00
seydx
25e7ac531e
Cleanup and update comments
2025-10-28 11:12:44 +01:00
seydx
0f27bb1124
Update SendOffer to include token and fix mqtt close
2025-10-27 23:57:54 +01:00
seydx
0ff3bf67e1
Comment out MQTT speaker message sending in AddTrack function
2025-10-27 23:57:14 +01:00
seydx
6d3d45e337
Handle speaker messages
2025-10-27 21:48:44 +01:00