feat(client): провайдер direct - прямо на сервер без TURN-реле

Тот же DTLS с обфускацией, сервер не меняется. По умолчанию один поток.
This commit is contained in:
samosvalishe committed 2026-09-22 00:07:28 +03:00
1 parent 7df3a3fd91
commit ee30afc922
17 files changed
+244 -102

No files matched your search

+3
View File
@@ -131,6 +131,9 @@ func assemble(r raw) (*Client, error) {
n := r.N
if n <= 0 {
n = DefaultStreams
if r.Provider == ProviderDirect {
n = DefaultDirectStreams
}
}
platform := Platform(r.Platform)
if platform == "" {