bring kcp over vp8 (#160)

* bring kcp over vp8 for wbstream

* add multitrack kcp

* make kcp configurable param

* fix lingered kcp tunnel after switch into raw vp8 tunnel

* add reliable setting into ios and desktop joiners
This commit is contained in:
kulikov0 authored and GitHub committed 2026-07-24 13:38:08 +02:00
1 parent 99e5630f19
commit a0229885ca
50 files changed
+1503 -96

No files matched your search

+1
View File
@@ -22,4 +22,5 @@ export interface JoinerSettings {
dns: string;
noTun: boolean;
dualTrack: boolean;
reliable: boolean;
}
+3
View File
@@ -122,6 +122,9 @@ function spawnJoiner(settings: JoinerSettings): { ok: boolean; error?: string }
if (settings.dualTrack && (settings.platform === 'vk' || settings.platform === 'wbstream')) {
args.push('--dual-track');
}
if (settings.reliable && settings.platform === 'wbstream') {
args.push('--reliable');
}
const elevateOnLinux =
process.platform === 'linux' && !noTun &&
+1
View File
@@ -100,6 +100,7 @@ startBtn.addEventListener('click', async () => {
dns: input('dns').value.trim() || '1.1.1.1,8.8.8.8',
noTun: input('noTun').checked,
dualTrack: input('dualTrack').checked,
reliable: input('reliable').checked,
};
const r = await bridge.start(settings);
if (!r.ok) appendLog(`[ui] start failed: ${r.error}\n`);