Skip to content

0.47.0

Compare
Choose a tag to compare
@wcarss wcarss released this 17 Aug 22:15
· 135 commits to react-native-daily-js-releases since this release

Features

  • Add testNetworkConnectivity() and abortTestNetworkConnectivity() methods to react-native-daily-js.
  • Add testConnectionQuality() and stopTestConnectionQuality() to daily-js.
  • Add audio stats to DailyNetworkStats returned from getNetworkStats(). Today we have video stats and total stats (which takes audio into account) but do not provide specific audio stats. This release adds fields audioRecvBitsPerSecond, audioRecvPacketLoss, audioSendBitsPerSecond, audioSendPacketLoss, worstAudioRecvPacketLoss, and worstAudioSendPacketLoss to the stats object, and includes improvements on how the packet loss calculations are done.

Bugfixes

  • Fixed eject_after_elapsed type in tokenConfig from boolean to a number.
  • Fixed a permission issue which would occur when attempting to activate a wake lock from embedded Prebuilt.
  • Fixed the return type of getCpuLoadStats() when the call is not in a joined state.
  • Fixed an issue where on occasion, a screenshare track state would get stuck in 'loading' and appear to be on locally and remotely after it was stopped.

Other improvements

  • v2CamAndMic will be enabled by default in Call Object apps beginning with this release.
    • Reiterating from earlier release notes: We've implemented a complete refactor of our internal logic that deals with gathering and updating a client's local media (unmuting, changing devices, etc) in order to resolve a number of longstanding issues.
    • This new logic has already rolled out to all Prebuilt users, and with this release it is becoming the default for Call Object usage, too.
    • If you think you're facing issues as a result of this change, you can opt out of the new code path using dailyConfig: { v2CamAndMic: false } wherever you provide your call options.
    • Note that in an upcoming release (version to be determined) you will no longer be able to opt out, so please report any issues you believe may have been introduced.
  • Allowed passing in Arrays in addition to Sets for canSend and canAdmin permissions in the updateParticipant() and updateParticipants() methods.
  • Added handling for additional URLs with proxyUrl. In particular, noise cancellation (powered by Krisp) is now supported when using proxyUrl.
  • Linter cleanup and general housekeeping.
  • Redux dispatcher cleanup of unnecessary async calls and unused variables.
  • Added Brazilian Portuguese support to react-native-daily-js types for Daily Prebuilt configuration
  • Marked cam_info, screen_info, and DailyVideoElementInfo as deprecated in the daily-js and react-native-daily-js type declaration files.