Skip to content

0.6.0

Compare
Choose a tag to compare

Moved package and repository

We're excited to announce that we've moved @daily-co/daily-react-hooks to @daily-co/daily-react!
Please note that @daily-co/daily-react-hooks is now deprecated. To get the latest updates, please upgrade to @daily-co/daily-react. To help you migrate swiftly we created a small codemod. It removes the old package, installs the new one and updates all import statements in your codebase.

Features

  • 🆕 🎥 DailyVideo component: no more battles when assigning MediaStreamTracks to <video> elements! All it takes is a sessionId and DailyVideo will take care of the rest. Learn more about DailyVideo in our docs!
  • 🆕 🔉 DailyAudio component: having a hard time managing audio tracks? Sweat no more: DailyAudio is a plug-and-play component to keep audio rolling in your Daily React app! Learn more about DailyAudio in our docs!
  • 🆕 🎻 DailyAudioTrack component: in cases where DailyAudio doesn't fit as nicely and developers need more fine-grained control on which audio tracks should play in the browser, DailyAudioTrack allows to setup a custom audio composition. Read up about DailyAudioTrack in, yup, you guessed right, our docs!
  • 🆕 🎤 useActiveSpeakerId hook: use this hook, when you're only interested in the active speaker's session_id. useActiveSpeakerId is a drop-in replacement for useActiveParticipant()?.session_id to optimize render performance. Check our docs for more info!

Improvements

  • useThrottledDailyEvent now allows multiple daily-js events to be registered in a single throttling queue. Events handled in the same queue are guaranteed to be handled in the same order as they were emitted. Check the docs for more info!
  • useDevices returns new error states as returned by camera-error events. Head over to our docs to learn more!

This release requires @daily-co/daily-js@0.33.0.