Выпуск WDTT Plus v17

This commit is contained in:
Ivan4537 committed 2026-09-04 19:38:52 +03:00
1 parent 4be5f36c88
commit abf0a0f130
33 files changed
+763 -262

No files matched your search

+3 -1
View File
@@ -387,6 +387,7 @@ func RunSession(
deviceID, password, deviceInfo, transportSession string,
stats *Stats,
preferTURNStream bool,
turnCandidateRetry int,
onTURNAllocated func(),
) (bool, error) {
configDelivered := false
@@ -394,9 +395,10 @@ func RunSession(
if len(creds.TurnURLs) == 0 {
return false, fmt.Errorf("нет TURN URL в учетных данных")
}
candidates := sessionTURNCandidatesWithPreference(
candidates := sessionTURNCandidatesForAttempt(
creds.TurnURLs,
sessionID,
turnCandidateRetry,
tp,
preferTURNStream,
)