Skip to main content

Latest version

Check the latest version on npm:

v0.4.0 - 2026-12-03

Added

  • Active-speaker cell in composite layouts: the Cell type adds bind_speaker; the cell automatically shows the current speaker. Only applies to fixed layouts, at most one per layout, cannot be on the same cell as bind_share, and no uid needs to be specified (the block’s uids can be empty). See Types.
  • Speaker border highlight: LayoutData adds speaker_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 DivList is renamed from cell to cells, matching the server. Cell settings previously set through cell (including bind_share) never actually took effect.
After upgrading, TypeScript reports errors wherever cell is used: change cell: [...] to cells: [...] in each div_list item; other fields are unchanged. If you use plain JS without type checking, rename it as well, otherwise the cell settings still won’t take 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, enterRoom returns 2120. Show a “waiting for the host” page instead of an error. New out-of-meeting messages: CommonImEventType.HOST_ENTERED (the host has joined; call enterRoom again with the original password, and if the meeting also has the waiting room on you will get 2118 next) and WAITING_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. Call exitWaitingRoom() when leaving either kind of waiting page
  • These two messages no longer come through IM_CUSTOM_MSG. If you checked the action of IM_CUSTOM_MSG yourself, 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” with setMyInterpLang(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) and USER_INTERP_LANG_CHANGED (a member’s language changed), see Events; re-emitted automatically after reconnecting if anything changed
  • Added isInterpEnabled(), getMyInterpLang(), getUserInterpLang(uid), getInterpLangs(), and isInterpListenOriginal(); RoomInfo adds interp_enabled, interp_duck_volume, interp_langs, and interp_default_lang
  • ASR_TRANSLATION adds audio_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 by lang to my language when showing captions
  • The underlying SRTC dependency is upgraded to Web ^0.7.7
When interpretation is on, each sentence is delivered as multiple translations with different lang values, and older clients that don’t filter by lang show all of them as captions. Upgrade all meeting clients before enabling interpretation; if there’s a reverse proxy on site, allow the /aiapi/interp-audio/ path, otherwise you get captions only and no interpretation audio.

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, or appId + 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. onItem reports progress item by item, and the call finally returns a summary, with each item carrying a description you can show to users directly. Call cancelNetworkCheck() 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 existing getLocalMicTrack()
  • Added subscribeRemoteAudioMixTrack() to get the remote audio mix (everyone except you); use it with createLocalCompositeRecorder() 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, call requestShare() with byAdmin = true and adminUid = data.op_uid

Fixed

  • Fixed an issue where calling requestShare() with byAdmin = true and an empty adminUid sent 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 event ROOM_ASR_STATE_CHANGED; captions and translations arrive via ASR_RESULT and ASR_TRANSLATION. RoomInfo gains asr_enabled
  • Meeting minutes: aiSummary(meetingId?) returns each transcription session and its minutes (also after the meeting); the host can regenerate them with adminAiSummaryGenerate(sessionId, meetingId?, templateId?). AI_SUMMARY_READY fires 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 trailing publish parameter. With false they only capture and preview, without asking the meeting for permission, publishing, or firing state events; they work before and during a meeting. Calling again with publish: true promotes 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 with getVolume() directly
  • Added isCameraOpened() / isMicOpened(): whether the camera / mic is open as the meeting camera / mic; false during 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-deepfilternet to 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): after DISCONNECTED, the SDK used to keep its meeting state until your code called exitRoom(). Without that call, a later enterRoom on the same SDK instance was rejected locally and never reached the server. The SDK now clears the state itself once the DISCONNECTED callback returns, so you can call enterRoom again directly. Calling exitRoom() 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-msg whose action is not one of the SDK’s built-in types used to be silently dropped, so onNotifyImEvent never fired. They are now delivered through the new CommonImEventType.IM_CUSTOM_MSG event, with data of type ImCustomMsgEventData (action, content, and the sender’s uid / 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.mjs to smeeting.esm.js (the module / exports fields in package.json are updated, so regular import statements are unaffected). This fixes the Module parse failed and Can't import the named export ... from non EcmaScript module errors 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

This release contains breaking changes: meeting-layer error codes are renumbered, the SDK’s error messages are now in English, and a language parameter is added. Any code that branches on the numeric code (especially 206000) or on Chinese error text needs to be updated according to the table below. For the full tables, see Error codes and Error code format and unified table. The underlying SRTC is upgraded to Web 0.7.0 as well, and the 106xxx codes it passes through are also renumbered; see the SRTC Web changelog · v0.7.0.

Breaking changes

  • Meeting-layer error codes renumbered: low 3-digit codes are assigned from the cross-platform unified table instead of falling into 206000. Check code, not the message text
  • Error messages in English: the message / msg of 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 in message; unparsable responses or responses missing the code field are 206356
  • Capture / permission errors pass through the SRTC-layer codes unchanged (such as 106231 camera permission denied, 106251 microphone permission denied, and 106039 screen sharing denied), and the cleanup after a failed turn-on no longer overwrites the original error
  • McuTaskStatus values now match the server: WaitStart = 0 and WaitEnd = 2 are added, Exception changes from 2 to 3, and Normal from 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

  • language init parameter (for example zh-CN or en; if omitted, follows navigator.language, falling back to zh), which also applies to the underlying SRTC: requests to both the meeting server and the SRTC server carry Accept-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 Types
  • autoPlayDialogText init parameter: overrides the text of the autoplay prompt (by default Chinese or English according to language)
  • The package exports SdkError and MeetingErrorCode (meeting-layer low 3 digits). The SRTC package also exports an SdkError with the same name; alias one of them when importing both packages

Fixes

  • The McuRecordDetail type now matches what the server actually returns: fields such as began_at / total_duration / records are added, and mcu_at / mcu_dur are deprecated (the server still fills them in; new integrations should use began_at / total_duration)

Changes

  • The SRTC dependency is upgraded to @seastart/srtc-web-sdk 0.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