Features
participants()[id].tracks.audio.off
andparticipants()[id].tracks.video.off
may now includebyRemoteRequest: true
when a participant is explicitly muted by a meeting owner invokingupdateParticipant(id, { setAudio: false })
orupdateParticipant(id, { setVideo: false })
or theupdateParticipants()
(plural) equivalent calls. Note that whenbyRemoteRequest: true
is set,byUser: true
will also be set, so that you don't have to change any existing code and can continue treating meeting-owner-triggered mutes as regular mutes. When a user unmutes themselves,byRemoteRequest
disappears along withbyUser
.- You can now specify
max_cam_streams
when using the defaultlayout
instartLiveStreaming()
(e.g.startLiveStreaming({ rtmpUrl, backgroundColor, layout: { preset: 'default', max_cam_streams: 4 } })
. This will limit the number of camera streams included in the live stream to the specified number. The current default value is 9, which is also the maximum number that may be specified.
Other improvements
- The TypeScript definition of the 'recording-started' event payload now includes
local
(a boolean) andrecordingId
.