Latest version
Check the latest version on npm:v0.4.0 - 2026-12-03
Added
- Active-speaker cell in composite layouts: the
Celltype addsbind_speaker; the cell automatically shows the current speaker. Only applies to fixed layouts, at most one per layout, cannot be on the same cell asbind_share, and no uid needs to be specified (the block’suidscan be empty). See Types. - Speaker border highlight:
LayoutDataaddsspeaker_border; the cell of the member who is speaking gets a highlight border. - Both require rtc-backend v1.14.0 and MCU 1.4.0 or later on the server.
Fixed (breaking type change)
- The cell list field of the logical block
DivListis renamed fromcelltocells, matching the server. Cell settings previously set throughcell(includingbind_share) never actually took effect.
v0.3.12 - 2026-11-30
Fixed
- False “Unable to connect to the media server (UDP blocked)” in the pre-call network check: now depends on SRTC Web SDK 0.7.8, so the check no longer reports this when the client reaches the media server directly on an internal network (no NAT in between). Calls themselves were never affected
v0.3.10 - 2026-11-26
Added
- Waiting for the host: when a meeting has “members can’t join before the host” turned on and none of the host, co-hosts or creator has joined yet,
enterRoomreturns2120. Show a “waiting for the host” page instead of an error. New out-of-meeting messages:CommonImEventType.HOST_ENTERED(the host has joined; callenterRoomagain with the original password, and if the meeting also has the waiting room on you will get2118next) andWAITING_MEETING_END(the meeting being waited for has ended or been canceled; show a notice and leave the waiting page). See Events · Out-of-meeting message events for the data. CallexitWaitingRoom()when leaving either kind of waiting page - These two messages no longer come through
IM_CUSTOM_MSG. If you checked theactionofIM_CUSTOM_MSGyourself, switch to the two event types above after upgrading
Requires meeting server support: older servers don’t send these two messages and don’t record who is waiting on
2120.v0.3.9 - 2026-11-25
Added
- Simultaneous interpretation for meetings: the host / co-host turns interpretation on and off with
startInterp()/stopInterp()(transcription is turned on first automatically if it isn’t on), and each member sets “my language” withsetMyInterpLang(lang). The server translates each sentence into the languages of the members in the meeting and synthesizes speech. The Web SDK has a built-in interpretation player that plays interpretation audio in my language one after another, lowering the speaker’s original voice while it plays (the volume comes from the AI profile, default 20%) and restoring it afterward;setInterpListenOriginal(true)switches to listening to the original voice only, without affecting captions. See SMeeting · Simultaneous interpretation for usage - Added the room events
ROOM_INTERP_STATE_CHANGED(interpretation turned on/off) andUSER_INTERP_LANG_CHANGED(a member’s language changed), see Events; re-emitted automatically after reconnecting if anything changed - Added
isInterpEnabled(),getMyInterpLang(),getUserInterpLang(uid),getInterpLangs(), andisInterpListenOriginal();RoomInfoaddsinterp_enabled,interp_duck_volume,interp_langs, andinterp_default_lang ASR_TRANSLATIONaddsaudio_url(interpretation audio URL, present only when interpretation is on and synthesis succeeded). When interpretation is on, each sentence arrives once per language of the members in the meeting; filter bylangto my language when showing captions- The underlying SRTC dependency is upgraded to Web
^0.7.7
v0.3.8 - 2026-11-24
Added
- Pre-call network check
networkCheck: call it before entering a meeting, without entering; no parameters are needed when logged in (when not logged in, pass the meeting token, orappId+serverUrl). The five checks (network permission, network connection, MTU, DNS resolution, server connectivity) are done by the SRTC layer and passed through as is; the meeting layer additionally checks in the server connectivity item whether the meeting API is reachable.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. See SMeeting · Pre-call network check for usage and Pre-call network check types for the types - The underlying SRTC dependency is upgraded to Web
^0.7.6
v0.3.7 - 2026-11-24
Added
- Added
getLocalCameraTrack()/getLocalScreenTrack()to get the local camera and screen-share tracks, alongside the existinggetLocalMicTrack() - Added
subscribeRemoteAudioMixTrack()to get the remote audio mix (everyone except you); use it withcreateLocalCompositeRecorder()for local recording. There is only one mix per meeting: if it is already playing, the same track is returned and nothing is subscribed twice - Added the room event
ADMIN_REQUEST_OPEN_SHARE: the host asks you to share your screen. To accept, callrequestShare()withbyAdmin = trueandadminUid = data.op_uid
Fixed
- Fixed an issue where calling
requestShare()withbyAdmin = trueand an emptyadminUidsent the screen but didn’t update the meeting’s sharing state
v0.3.6 - 2026-11-18
Added
- Live captions and translation: the host turns meeting transcription on and off with
adminAsrStart(translateLang?)/adminAsrStop();isAsrEnabled()returns the current state. Changes fire the room eventROOM_ASR_STATE_CHANGED; captions and translations arrive viaASR_RESULTandASR_TRANSLATION.RoomInfogainsasr_enabled - Meeting minutes:
aiSummary(meetingId?)returns each transcription session and its minutes (also after the meeting); the host can regenerate them withadminAiSummaryGenerate(sessionId, meetingId?, templateId?).AI_SUMMARY_READYfires when minutes finish or fail - Transcripts:
aiTranscript(meetingId?, sessionId?)returns the raw transcript, grouped by session with sentences in time order
v0.3.5 - 2026-11-18
Added
- Capture-only preview (device checks):
requestOpenCamera()/requestOpenMic()gain a trailingpublishparameter. Withfalsethey only capture and preview, without asking the meeting for permission, publishing, or firing state events; they work before and during a meeting. Calling again withpublish: truepromotes the track and publishes the same track without restarting capture. See Device checks requestOpenMic()returns the local mic track (LocalMicTrack), so you can read the volume withgetVolume()directly- Added
isCameraOpened()/isMicOpened(): whether the camera / mic is open as the meeting camera / mic;falseduring a preview only
Fixed
- Fixed an issue where a camera or mic opened before entering a meeting couldn’t be published after entering: calling
requestOpenCamera()/requestOpenMic()again reported “already on”. It is now published
v0.3.4 - 2026-11-18
Added
- AI noise suppression: added
setAudioProcessor(), which hands microphone audio processors such as@seastart/srtc-plugin-deepfilternetto the meeting layer; from then on they are attached every time the mic opens and detached when the mic closes or you leave the meeting. See AI noise suppression - Upgraded the underlying SRTC dependency to Web
^0.7.3
v0.3.3 - 2026-11-12
Fixes
- Entering again after being removed, replaced by another login, or after the meeting ended failed with “already in a meeting” (
206006): afterDISCONNECTED, the SDK used to keep its meeting state until your code calledexitRoom(). Without that call, a laterenterRoomon the same SDK instance was rejected locally and never reached the server. The SDK now clears the state itself once theDISCONNECTEDcallback returns, so you can callenterRoomagain directly. CallingexitRoom()in the callback still works, so existing code needs no change
v0.3.2 - 2026-11-09
Fixes
- Custom out-of-meeting (IM) messages never reached the callback: messages sent with the server API
im/send-msgwhoseactionis not one of the SDK’s built-in types used to be silently dropped, soonNotifyImEventnever fired. They are now delivered through the newCommonImEventType.IM_CUSTOM_MSGevent, withdataof typeImCustomMsgEventData(action,content, and the sender’suid/name/sid). See Events · Out-of-meeting message events - Removed a stray console log printed for every incoming IM message
v0.3.1 - 2026-11-04
- Works with webpack 4 and other older toolchains: the build output is now down-leveled to ES2019, and the ESM build is renamed from
smeeting.mjstosmeeting.esm.js(themodule/exportsfields inpackage.jsonare updated, so regularimportstatements are unaffected). This fixes theModule parse failedandCan't import the named export ... from non EcmaScript moduleerrors with webpack 4’s default configuration. APIs and runtime behavior are unchanged - The underlying SRTC is upgraded to Web 0.7.1, which is down-leveled to ES2019 as well; see the SRTC Web changelog · v0.7.1
v0.3.0 - 2026-09-30
Breaking changes
- Meeting-layer error codes renumbered: low 3-digit codes are assigned from the cross-platform unified table instead of falling into
206000. Checkcode, 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) - Network failures / HTTP non-200 responses when calling the meeting server are now always
206007, with the HTTP status inmessage; unparsable responses or responses missing thecodefield are206356 - Capture / permission errors pass through the SRTC-layer codes unchanged (such as
106231camera permission denied,106251microphone permission denied, and106039screen sharing denied), and the cleanup after a failed turn-on no longer overwrites the original error McuTaskStatusvalues now match the server:WaitStart = 0andWaitEnd = 2are added,Exceptionchanges from 2 to 3, andNormalfrom 3 to 4. Code that compares by member name gets the correct meaning after upgrading; check any code that compares against the literal numbers 2 / 3
New
languageinit parameter (for examplezh-CNoren; if omitted, followsnavigator.language, falling back tozh), which also applies to the underlying SRTC: requests to both the meeting server and the SRTC server carryAccept-Language, 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 TypesautoPlayDialogTextinit parameter: overrides the text of the autoplay prompt (by default Chinese or English according tolanguage)- The package exports
SdkErrorandMeetingErrorCode(meeting-layer low 3 digits). The SRTC package also exports anSdkErrorwith the same name; alias one of them when importing both packages
Fixes
- The
McuRecordDetailtype now matches what the server actually returns: fields such asbegan_at/total_duration/recordsare added, andmcu_at/mcu_durare deprecated (the server still fills them in; new integrations should usebegan_at/total_duration)
Changes
- The SRTC dependency is upgraded to
@seastart/srtc-web-sdk0.7.0 - The npm page description is now bilingual (Chinese and English), and the license is now proprietary (UNLICENSED)
Old code → new code mapping
v0.2.0 - 2026-09-02
- feat: the SRTC dependency is upgraded to Web 0.6.x and adapted to the multi-channel API
- feat: audio level meters and “speaking” indication
- fix: turning the mic / camera / screen sharing on and off is serialized per slot, eliminating duplicate tracks published by concurrent operations