feat(agent): test de flux multi-protocoles — RTMP, Bubble/Uniview, HomeKit (Fixes #67)

- RTMP : handshake minimal C0/C1 (0x03 + 1536 octets) — serveur qui répond C0 = vivant
- Bubble (Uniview) : TCP + requête HTTP tramée (préambule binaire 8 octets, go2rtc pkg/bubble) + vérif HTTP/1.1 200
- HomeKit : TCP + GET /accessories — toute réponse HTTP (200/401/470) prouve un service HAP vivant
- StreamTesterService central : dvrip/bubble/homekit acceptés (TCP reachable)
- Timeouts explicites Task.WhenAny partout (jamais de hang, cf. 491a253)
- Tests : 4 (serveurs TCP factices RTMP/HTTP)
This commit is contained in:
Arnaud Dartois committed 2026-08-11 22:25:59 +02:00
1 parent c0768b3804
commit ac1871e8d9
3 files changed
+310 -2

No files matched your search

@@ -141,7 +141,7 @@ public sealed partial class StreamTesterService
{
"rtsp" or "rtsps" => await TestRtspStreamAsync(url, uri, sw, ct),
"http" or "https" => await TestHttpStreamAsync(url, uri, sw, ct),
"rtmp" or "rtmps" => await TestTcpReachableAsync(url, uri, sw, ct),
"rtmp" or "rtmps" or "dvrip" or "bubble" or "homekit" => await TestTcpReachableAsync(url, uri, sw, ct),
_ => new Application.DTOs.StreamTestResult(url, [], 0, 0, 0, null, false)
};
}