Latest version
Check the latest version on npm: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