github daily-co/daily-js daily-js-2022-05-17-0.26.0
0.26.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

  • 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.

Don't miss a new daily-js release

NewReleases is sending notifications on new releases.