v2.21.3:
- Node.js Migration Fix: Resolved issues in migration logic for applications running under Node.js, ensuring stable initialization and environment compatibility.
- WebRTC Transport Policy: Introduced the optional
iceTransportPolicyparameter ('all' | 'relay') to control ICE candidate gathering behavior. When set to'relay', only TURN-relayed candidates are used. This option is intended for dedicated servers and should not be used on shared ones. - Type Refinements: Improved and clarified TypeScript type definitions across SDK modules.
- Initialization Readiness: Added the
ready(): Promise<void>method that resolves when internal asynchronous initialization is complete. Designed for dedicated servers; not recommended for shared environments.