Latest version
Check the latest version on npm:Release history
The changelog is still being filled in. For details on changes in a specific version, contact technical support.
Recent updates
v0.7.9 - 2026-11-30
- Fixed remote participants hearing their own echo when older browsers play through speakers: on Chrome / Edge below major version 129 (e.g. Chrome 109, Edge 107), the browser’s echo cancellation doesn’t cover remote audio that the SDK mixes before playback, so people on the other end heard themselves. These browsers now play each remote user’s audio separately, so echo cancellation works as expected. Version 129 and later, Firefox and Safari are unaffected. No API changes; just upgrade
v0.7.8 - 2026-11-30
- Fixed a false “Unable to connect to the media server (UDP blocked)” in the pre-call network check: when the client reaches the media server directly on an internal network (no NAT in between), the browser doesn’t report a mapped address identical to the local address, and older versions mistook this for blocked media UDP. Now the check fails only when the probe actually gets no response. Calls themselves were never affected
v0.7.7 - 2026-11-25
- New per-user playback volume
setRemoteUserVolume/getRemoteUserVolume: adjusts how loud you hear a given user locally (0 to 1, with a ramp and no popping). It applies to both the user’s microphone and screen-sharing audio, audio tracks the user publishes later pick it up automatically, and it’s cleared when the user leaves the channel. It only affects you, not other members. Per-user adjustment isn’t possible in channels with server-side mixing; the call returnsfalse. See SRTC · setRemoteUserVolume for usage - New audio clip playback
playAudioClip: plays an audio clip (ArrayBuffer / Blob / URL) into your local audio output. While the mixed audio track is playing, the clip comes out of the same speaker as remote voices. The returned handle gives the duration, lets you stop at any time, and lets you wait for it to finish. Only you hear it; it isn’t published to the channel, and it stops automatically when you leave the channel. Suitable for playing interpretation audio for simultaneous interpretation, notification sounds, and similar cases. See SRTC · playAudioClip for usage and Audio clip types for the types
v0.7.6 - 2026-11-24
- New pre-call network check
networkCheck: call it before joining, without joining a channel. It checks 5 items in order: network permission, network connection, MTU, DNS resolution, and server connectivity (SDK API, signaling, media).onItemreports progress item by item, and the call finally returns a summary, with each item carrying a description you can show to users directly. CallcancelNetworkCheck()to cancel. On the Web, the network permission, MTU, and DNS resolution items are reported as “not supported” due to browser limitations. The check requires the server to provide the network check API; with an older server version, the server connectivity item fails. See SRTC · networkCheck for usage and Pre-call network check types for the types
v0.7.5 - 2026-11-23
- Runtime environment and peripherals visible in the log center: after joining, the SDK reports the browser, operating system, and peripheral list (including device names), and also records microphone / camera switches and changes to the playback device for remote audio, making on-site issues such as echo or no sound easier to troubleshoot
- Fixed missing video or audio after resubscribing: when an unsubscribe request didn’t reach the server because of network issues, subscribing to the same stream again no longer ends up “subscribed but with no data”
v0.7.4 - 2026-11-19
getVolume()now works: on local audio tracks (microphone and others),getVolume()used to always return 0. It now returns the input volume from 0 to 100 (0 below about -45 dBFS, 100 above about -10 dBFS), ready to drive a microphone level meter. See Media tracks- Media reconnection failures are no longer silent: when automatic reconnection of the SFU media connection finally gives up (the server returns an unrecoverable error, or repeated retries fail), the SDK emits
DISCONNECTEDwith the reason, instead of leaving the user in the channel with no audio or video. Make sure your app handles this event - Members and tracks are restored after a lost session: after the signaling connection drops, if the server has lost the session (for example after a long disconnection), the SDK fetches the channel details again on reconnect, emits the member join/leave and track add/remove events missed while disconnected, and then emits
RECONNECTED. Short disconnections are still covered by the server re-sending messages - Joining no longer hangs on a network hiccup: if the signaling connection fails on its first attempt during join and then succeeds on retry,
joinnow returns instead of hanging - Users who rejoin are no longer removed by mistake: a late leave message from a user’s old session no longer removes them after they rejoin
- No more spurious
USER_TRACK_UPDATE: track update events are no longer emitted on every stream update when the remote tracks haven’t changed
v0.7.3 - 2026-11-16
- Browser noise suppression is turned off automatically with noise suppression plugins: when you use the RNNoise or DeepFilterNet plugin, the SDK turns off the browser’s own noise suppression and restores it on detach, so the two don’t stack and muffle voices. Upgrade the plugins as well (RNNoise 0.1.1, DeepFilterNet 0.1.2)
- New audio processor interface
AudioTrackProcessor: a custom audio processor can useaudioProcessingto declare what it needs from the browser’s noise suppression, echo cancellation, and auto gain control. See Audio/video processors - Microphone and camera actually stop when a processor is attached: previously, with a processor attached,
stopCaptureor switching devices didn’t stop the original microphone or camera, so the browser’s recording or camera indicator stayed on - Calling
setProcessoragain no longer causes silence or a black screen: callingsetProcessorwhile a processor was already attached could hand the new processor a dead track, resulting in silence or a black screen
v0.7.2 - 2026-11-09
- Microphone no longer fails along with an unusable camera: when listing devices (
getDevices), if a camera is present but cannot be started (held by another app, broken VDI camera redirection, etc. — the browser reportsNotReadableError), the microphone used to fail with it and no device list was returned. The SDK now retries with the microphone only, so the user can still unmute
v0.7.1 - 2026-11-04
- Works with webpack 4 and other older toolchains: the build output is now down-leveled to ES2019 (class fields, optional chaining, BigInt literals, and similar syntax are transpiled). This fixes the
Module parse failederror when the SDK is imported with webpack 4, or with older babel setups that do not transpilenode_modules. APIs and runtime behavior are unchanged; the bundle is about 7% larger
v0.7.0 - 2026-09-30
Breaking changes
- Error codes renumbered: the SDK’s own errors get low 3-digit codes from the cross-platform unified table instead of mostly falling into
106000. Checkcode/baseCode, not the message text - Error messages in English: the
message/msgof the SDK’s own errors are now all in English and meant for developers and logs; map codes to your own end-user messages (the error code page has a “Suggested user message” column) SdkErrornow extendsError(it hasmessage,name, andstack,e instanceof Errorholds, andmsgis kept for compatibility);baseCode(the low 3-digit code) is added; the package exportsSdkErrorandErrorCode- HTTP non-200 responses / failed network requests now always throw
SdkError(106006), with the HTTP status inmessage(previously anErrorwith no code, such as"500:...") - Capture failures (
startCapture, requesting device permissions) now throw a codedSdkErrorinstead of the browser’s raw exception:nameandmessagekeep the browser’s original values (such asNotAllowedError) and the original exception is incause, so existing code that checkse.namekeeps working - When an API returns HTTP 200 but the body has no
codefield, it used to be treated as a server business error (heartbeat left the channel immediately); it’s now a response parse failure106011and is retried. A body that isn’t JSON is also106011 - Calling
publishLocalTrackorsubscribeRemote*on a channel that has been left (or is being left) throws106001(Channel has been left);unpublishLocalTrack/unsubscribeRemoteTrackstill succeed silently after leaving the channel
New
languageinit parameter (for examplezh-CNoren; if omitted, followsnavigator.language, falling back tozh): the SDK sendsAccept-Languagewith its server requests, and the messages of server business errors (1000–99999) come back in Chinese or English accordingly. The SDK’s own errors are always in English and aren’t affected. See Types · SdkInitParams- The prompt shown when autoplay is blocked has built-in Chinese / English text (chosen by
language), which you can override with theautoPlayDialogTextinit parameter;disableAutoPlayDialogbehaves as before
Fixes
- The autoplay prompt no longer includes the track desc and is built as plain text, fixing HTML injection through a remote desc
Changes
- The track
toString()prefix now uses class-name style (such asLocalCameraTrack[...]), so track names in the logs are now in English;QualityEvaluation.reasonsof connection quality evaluation is now in English (for diagnostics, not a contract) - The npm page description is now bilingual (Chinese and English), and the license is now proprietary (UNLICENSED)
Old code → new code mapping
v0.6.3 - 2026-09-23
- fix: local audio mixing now outputs directly through AudioContext, fixing dull received audio on Web
- fix: the hidden audio elements used internally by mixing to activate remote tracks are now muted and kept referenced, preventing mixing from occasionally going silent after they were garbage-collected
- feat: RemoteAudioTrack now has setJitterBufferTarget / getJitterBufferTarget (previously only video tracks supported them)
v0.6.2 - 2026-09-02
- fix(channel): publishing the same desc again now throws directly, preventing ghost tracks that can’t be turned off
- fix: default channel detection no longer relies only on object identity, preventing all events from being lost when the instance is wrapped in a reactive proxy
- fix: business errors are no longer swallowed as “call canceled”, and reconnection can recover on its own when capacity is insufficient
v0.6.1 - 2026-08-06
- fix: events lost on remote tracks subscribed directly through Channel (muted/ended/pip, etc. not notified); channel.subscribeRemote* now returns platform types (RemoteVideoTrack, etc.), so no type assertions are needed
v0.6.0 - 2026-08-05
- feat!: engine + multi-channel model: join returns Channel, supports joining multiple channels at once
v0.5.7 - 2026-07-21
- feat: when the camera is off in local recording, a round avatar is shown in the center of the tile; if the avatar fails to load or cross-origin access is refused, it falls back to a gray circle with the nickname’s first letter
v0.5.6 - 2026-06-16
- feat: video supports front camera mirroring, on by default for the front camera and adjustable by the user
- feat: DeepFilterNet noise suppression plugin
v0.5.4 - 2026-06-03
- feat: added the audio/video processor plugin mechanism
- feat: added the wasm noise suppression plugin
v0.5.3 - 2026-05-08
- feat: add local composite recorder (47a20b0)
- chore: optimized default screen sharing configuration (f079eeb)
v0.5.1 - 2026-04-27
- fix: video freezes (b7a36c2)
- feat: RemoteVideoTrack supports setting jitterBufferTarget (jitter buffer target delay) (6aed177)
v0.5.0 - 2026-04-23
- feat: the seastart engine now receives quality reports sent by the server
- feat: type-safe rework of the channel event system, supporting discriminated unions and automatic type narrowing
- feat: the seastart engine now supports active speakers (users who are speaking)
- feat: added adaptive streaming, which switches simulcast layers automatically based on play window state and supports SFU downlink layer switch notifications and active layer switch requests
v0.4.4 - 2026-04-18
- feat: simulcast support and optimized SFU subscription layer switching (781f520)
-
Web video tracks gain picture-in-picture and separate window capabilities:
enterPictureInPicture,exitPictureInPicture,popOutToWindow,closePopOutWindow -
New channel events:
TRACK_PIP_ENTER,TRACK_PIP_EXIT,TRACK_POPOUT_OPEN,TRACK_POPOUT_CLOSE -
PipOptionsandPopOutOptionsgain thehideOriginViewoption, defaulting totrue