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
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
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
Simon Cheng
3207f9e783
fix typo for inability to set channels for backchannel
2026-01-04 18:45:03 -05: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
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