github daily-co/daily-js daily-js-2021-10-28-0.21.0
0.21.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

  • Introduced a new event, live-streaming-started that corresponds to when a live streaming has started for the call. The event payload optionally includes the streaming layout:

    {
      "action": "live-streaming-started",
      "layout": {} // see layout object in [startLiveStreaming](https://docs.daily.co/reference/daily-js/instance-methods/start-live-streaming)
    }
  • Beta (cloud recording): Added support for recording-started and recording-stopped for cloud-beta recording. All recording-started events will now include the type of recording started (ie. "local", "cloud", "rtp-tracks", "output-byte-stream", or "cloud-beta"). When the type is cloud-beta or rtp-tracks, the recording-started event will also include startedBy with the participant id of the person who started the recording. cloud-beta recordings will also include the same layout property as live streaming events.

    {
      "action": "recording-started",
      "callFrameId": "16149871051110.5607513282111183",
      "layout": { "preset": "default" }, // only for rtp-tracks recordings
      "local": true, // only present for local and cloud recordings if you started the recording
      "recordingId": "cab2be92-1551-42d8-bcdf-11fe7bd81923", // only for cloud recordings
      "startedBy": "1c6d5474-b133-4993-c943-f1ffdbb38cad", // the participant that started a cloud-beta or rtp-tracks recording
      "type": "cloud-beta" // or rtp-tracks, local, cloud, or output-byte-stream
    }

Bugfixes

  • added missing userName to the DailyCallOptions type
  • Beta (background blur): added better validation for the optional config object passed in as part of processor in updateInputSettings
  • Beta (background blur): changed the strength value from being an int ranging from 0-10 to a float percentage value, ranging from 0-1.
  • Resolved an issue that would cause cloud-beta or rtp-tracks recordings to stop if startRecording() was called multiple times in the same session.

Don't miss a new daily-js release

NewReleases is sending notifications on new releases.