May 17, 2022
In this latest release, react-native-daily-js
device support has increased profoundly. You can now retrieve valuable information about local devices, as well as update your local video and audio devices with just a couple lines of code. Additionally, we've provided a new participant event so you can be alerted anytime device availability updates. These new additions get react-native-daily-js
support even closer to feature parity with daily-js
. (If this were a race, it'd be pretty close! ๐)
daily-js
is introducing some exciting changes as well that will help developers manage their video calls more easily. We've added a new method and event to help keep track of call size changes, and now let you specify your preferred fps
for live streams and recordings.
Read on for the complete list of updates landing in this release.
daily-js 0.26.0
- ๐น New video frame rate configuration:
fps
(frames per second). This can be set in the live streaming options, as well as with call recordings. - ๐ New warning and error messages when clients are using
daily-js
versions that are nearing their end of support or no longer supported. We know it can be easy to put it off so we'll remind you when it really is time to update your version! - โฐ๏ธ Virtual backgrounds now accept data URL types, in addition to HTTP URLs for the source image, via the
updateInputSettings()
method. - ๐งฎ New instance method:
participantCounts()
. Get the total participant count for your current call (and a spoiler for an upcoming feature, while you're at it!)- New participant-related event:
participant-counts-updated
. Listen for changes to your participant counts to keep track of when your call size changes.
- New participant-related event:
react-native-daily-js 0.24.0
- ๐ New instance method:
enumerateDevices()
. Retrieve a list of available local video input devices, as well as the input and output audio devices. If it looks familiar, this was already supported indaily-js
. React Native developers, we've got you covered now! - ๐ New instance method:
getInputDevices()
. Similar toenumerateDevices()
,getInputDevices()
will return device information of the video and audio devices currently in use in a call. - ๐น New instance method:
setCamera()
. Update your current camera in use by passing thedeviceId
found in the return value fromenumerateDevices()
. - ๐ฃ New instance method:
setAudioDevice()
. Update your current audio input or output devices by passing thedeviceId
found in the return value fromenumerateDevices()
. - New event:
available-devices-updated
. Get notified whenever your local devices change, whether you have a new one or lost a connection. - โ๏ธ Added support for Android 12
Daily Prebuilt
- ๐ Bugfix: gUM (
getUserMedia()
) errors โ i.e. device permissions โ were sometimes unmuting the local microphone when permissions were provided. We've fixed this so you can stay muted until you're ready to talk.
Dashboard
- ๐ Lots of UI improvements to keep the dashboard easy to use and nice to look at!
Daily React Hooks
- ๐ The
useRoom()
hook no longer has aincludeRoomConfigDefaults
parameter. useParticipantIds()
has a new'screen'
filter to get participants with active screen shares.- ๐ซ Lots of improvements related to reducing re-render cycles to improve app performance.
- ๐ The
useRoom()
hook has been updated to make room information available sooner in the lifecycle of the call. - ๐ Bugfix: the
useRoom()
return type was updated toDailyRoomInfo | null
.
REST API
- ๐ New room configuration:
rtmp_geo
. Choose where your RTMP stream should originate.
VCS
- ๐ The VCS baseline composition and VCS Simulator now have two new properties to help customize your video feed:
image.enableFade
andvideoSettings.preferScreenshare