github daily-co/daily-js daily-js-2022-03-30-0.24.0
0.24.0

latest releases: daily-js-2024-09-26-0.72.0, daily-js-2024-09-12-0.71.2, daily-js-2024-08-07-0.70.0...
2 years ago

Features

  • ✨ Beta ✨ New enable_pip_ui room and domain configuration property to enable Daily Prebuilt's Picture in Picture controls. When PiP is enabled, the video tile will show the active speaker or a grid view, depending on your current Daily Prebuilt settings.
curl -H "Content-Type: application/json" \
     -H "Authorization: Bearer $DAILY_API_KEY" \
     -XPOST -d \
     '{"properties":{"enable_pip_ui":true}}' \
     https://api.daily.co/v1/
  • 🪞 Our enable_prejoin_ui property is now available as a meeting token configuration, in addition to its existing room and domain configuration properties. This new token property will override the room and domain values for the same property.

  • 🌊 Live streaming improvement: Automatically retry RTMP connections if there is an error unless the URLs have all failed.

  • 📦 Advanced: Override default video constraints that Daily uses when it calls getUserMedia() by providing a new DailyIframe property: userMediaVideoConstraints

const callObject = DailyIframe.createCallObject({
  url,
  dailyConfig: {
    userMediaVideoConstraints: { frameRate: 10 },
  },
});

userMediaVideoConstraints can be a MediaTrackConstraints object or true when used with react-native-daily-js.

  • ▶️ persistentTrack is now officially in Daily's TypeScript definitions! 🎉 Using this track in your app can help avoid browser bugs related to auto-playing media tracks.

  • 🔀 startCamera() can now be used without a url parameter, in case you want to change the Daily room in between calling startCamera() and pre-authenticating or joining the room.

Bugfixes

  • 🐛 Flip the assumption that a user is on Plan B, because it’s no longer a good assumption. At this point >99% of users are on unified plan browsers, so if there is a race condition for the browser information not being available, we should assume the browser can support unified and not vice-versa.
  • 🐞 Fix virtual background key typo from throwing an error and causing a freeze by scrubbing invalid processor keys.

Don't miss a new daily-js release

NewReleases is sending notifications on new releases.