January 26, 2021

daily-js 0.9.997
- π€Β The participant list returned by
participants()(and all events that return a list of participants), now includes atracksproperty which gives you a more granular representation of the state of each track. Seeparticipants()docs for more. (Also available inreact-native-daily-js). - π©Β In the prebuilt UI you can now control whether your local video is displayed in the corner, with a setter (
setShowLocalVideo()), a getter (showLocalVideo()), and a property to pass into factory methods or at meeting join time (showLocalVideo). - π©βπ©βπ§βπ§Β Additionally, in the prebuilt UI you can now control whether the participants bar (the row of videos during a screenshare) is displayed, with a setter (
setShowParticipantsBar()), a getter (showParticipantsBar()), and a property to pass into factory methods or at meeting join time (showParticipantsBar). - πΒ Added
setUserName()for programmatically setting the user name that other participants see either visually in the prebuilt UI or through theuser_nameproperty in theparticipantsobject corresponding to you. - The new
setInputDevicesAsync()method returns a Promise.
Live streaming
- πΊΒ Our RTMP streaming backend is now more stable and compatible with more services.
- πΒ The keyframe interval while live streaming has been dropped from 3 seconds to 2 seconds, in line with ingest stream recommendations on major streaming services.
Bugfixes and other improvements
- πΒ Fixed a bug where when leaving an iframe-based meeting by clicking the leave button in the iframe, stale participants from that meeting would βlingerβ in
participants(), necessitating the creation of a newDailyIframefor a new meeting. - π€Β TypeScript declaration fixes for
track-startedandtrack-stoppedevents. - π¨Β TypeScript declaration fixes wherever CSS properties are expected.