Skip to content

0.26.0

Compare
Choose a tag to compare
@mattieruth mattieruth released this 17 May 18:04
· 89 commits to main since this release

Features

  • Added support for setting the fps of a live stream through the live streaming options
  • Implemented new warnings messages and logs for when clients are on daily-js versions nearing end of support as well as error messages and logs for when they are on daily-js versions no longer supported.
  • beta: When using updateInputSettings() to enable background-image, allow data url types in lieu of http urls for the source image.
  • Introduced a new method and corresponding event for tracking the number of participants in a call (including the local participant). Previously, the best way to get at the participant count was to check the number of entries in participants(), but that list can take a little while to populate when first joining a call and will not include all the participants in future large meeting use cases.
    • participantCounts(): new function that returns an object containing the number of present and hidden participants in the call. present participants are ones that provide a presence—i.e. ones that are or will soon be in your participants() list. hidden participants are participants that are participating in the call but not providing any presence—i.e. people passively watching a broadcast. Support for hidden participants will be coming soon.

      call.participantCounts();
      // returns
      // {
      //    present: <number of participants providing presence data>
      //    hidden: <number of participants not providing presence data>
      // }
    • participant-counts-updated: a new event to listen for which is emitted any time the participant counts change.

      call.on('participant-counts-updated', (e) => {});
      // where e is:
      // {
      //   action: 'participant-counts-updated'
      //   participantCounts: {
      //     present: <number of participants providing presence data>
      //     hidden: <number of participants not providing presence data>
      //   }
      // }

Bugfixes

  • Fixed the check in the room() query so that it works and is available as soon as possible.