Skip to content

Node RTC SDK 0.4.0

Latest

Choose a tag to compare

@fffilimonov fffilimonov released this 26 Nov 10:54
bb71c1c

Node bots can now join dTelecom rooms using the ranked signaling URLs returned by Cloud. Pass the participant's wsUrl, token and fallbackUrls from the same issuance response.

await room.connect(wsUrl, token, { fallbackUrls });

If a node is unreachable, the SDK tries the next distinct URL with the same token. A definitive authorization rejection ends the attempt. After a connection drops, the SDK first retries the serving node and restores published audio tracks when it reconnects. Use room.updateConnectionToken(token, fallbackUrls) after extending a session. Single-URL callers keep their existing API.

Install with npm install @dtelecom/server-sdk-node@0.4.0 on Node.js 22 or newer. Echo bot quickstart · Changelog