Published March 31, 2023
Added
checkFeatureRequirements
API to check browser compatibility with supported features.reclaimHost
method to allow the original host to reclaim host privileges when lost.- Original host support. Set the
role_type
property in the SDK JWT payload to1
and use theclient.isOriginalHost()
method to reclaim host privilege. - Mask background feature, which is supported on more browsers than virtual backgrounds. Use a background image or a clip to mask the background.
- Background image: Similar to the virtual background feature, it covers the background behind the user.
- Clip: The shape to use to mask the background of the video. The shape includes the following: rectangle, square, circle, or SVG.
- To enable this function, use the
mask
option in thestream.startVideo
method, or preview the video via thestream.previewVideoMask
method.
Enhanced
- Audio latency.
stream.startShareScreen
method with adisplaySurface
option to allow users to specify the default surface when starting screen share on Chromium-like browsers.- Participant interface with
isSpeakerOnly
attribute; thespeakerOnly
audio status will broadcast to all users in the session. HTMLElement
checking in APIs that require a canvas or video element to return a friendly reason if the parameter is incorrect.
Fixed
- Issues properly rendering video on Safari 16.4.
userIdentity
property is not in thestream.getAllUser
returned value.- Incorrectly returned Promise by
stream.switchCamera
method when the camera doesn't work. mirrorVideo
on Firefox with SharedArrayBuffer disabled.