github daily-co/daily-js daily-js-2022-09-15-0.31.0
0.31.0

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

Features

  • A new permissions system allows you to specify a couple of different permissions for each participant:

    • canSend, which specifies which kinds of media the participant is allowed to send ('video''audio''screenVideo''screenAudio').
    • hasPresence, which specifies whether the participant appears as “present” (as opposed to “hidden”) in the meeting, i.e. whether they are listed in everyone’s participants().

    Participant permissions can be specified in a couple of ways:

  • The code that daily-js downloads before you join a call is now “pinned” to this version of daily-js. That means you will no longer get (in many cases, unwanted) updates to Daily client-side code without updating your daily-js dependency. Read more about this change in the last version’s release notes.

Bugfixes

  • We fixed a bug where if you attempted to update your desired max spatial layer for some subscribed media (via updateReceiveSettings({ '<participant-id>': { video: { layer: } } }), say) while the subscription was still being established, the updated layer would never take effect.
  • getNetworkTopology() will now return the currently-chosen topology as soon as we know it, not after a delay.
  • We’ve stopped polluting your Sentry logs with our noisy breadcrumbs.
  • If you setUserData(null), other participants will see your userData change to null, not undefined.

Other improvements

  • Some optimizations to client-server signaling messages.

Don't miss a new daily-js release

NewReleases is sending notifications on new releases.