Skip to content

Revert "feat: add TURN-TCP support with server-driven config (#112)"#115

Merged
nagar-decart merged 1 commit intomainfrom
nagar-decart/revert-turn-tcp
Apr 7, 2026
Merged

Revert "feat: add TURN-TCP support with server-driven config (#112)"#115
nagar-decart merged 1 commit intomainfrom
nagar-decart/revert-turn-tcp

Conversation

@nagar-decart
Copy link
Copy Markdown
Contributor

@nagar-decart nagar-decart commented Apr 7, 2026

Reverts #112. Merged by mistake — the SDK PR needs to land together with the API PR (DecartAI/api#971).


Note

Medium Risk
Changes the realtime/WebRTC connection setup by removing TURN server configuration and related signaling handling, which can affect connectivity in restricted NAT/firewall environments. Also deletes associated E2E coverage, increasing the chance of regressions going unnoticed.

Overview
Reverts the previously added TURN-TCP support in the realtime SDK by removing iceServers/iceTransportPolicy connect options and dropping the turn_config signaling message path.

WebRTC peer connections now always use a fixed STUN-only iceServers list, and the websocket URL no longer includes the ice_transport_policy query param. The TURN-TCP E2E test/config and the test:e2e:turn-tcp script are removed.

Reviewed by Cursor Bugbot for commit 5f31ec2. Bugbot is set up for automated code reviews on this repo. Configure here.

@nagar-decart nagar-decart merged commit 23ca5eb into main Apr 7, 2026
3 checks passed
@nagar-decart nagar-decart deleted the nagar-decart/revert-turn-tcp branch April 7, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant