github daily-co/daily-js daily-js-2021-09-01-0.18.0
0.18.0

latest releases: daily-js-2024-10-31-0.73.0, daily-js-2024-10-30-0.72.2, daily-js-2024-10-04-0.72.1...
3 years ago

Features

  • Introduces a new beta recording type, cloud-beta, which records a Daily call server-side.

    • Set the enable_recording property for a room or meeting token to cloud-beta to test it out. Be advised that this feature is beta and is subject to change

    • You can now pass a layout property to start startRecording that determines how participants' camera streams will be displayed in the recording. This layout object includes a preset key that specifies a default (grid), single-participant, or active-participant layout value. The default value can be set with an additional max_cam_streams key to indicate the number of participant videos displayed.

      await call.startRecording({
        width: 1280,
        height: 720,
          backgroundColor: "#FF1F2D3D",
        layout: {
          preset: "default",
          max_cam_streams: 5,
        },
      });
    • The new updateRecording method makes it possible to update the layout value mid-recording.

      await call.updateRecording({
        layout: {
          preset: "single-participant",
            session_id: "abcd123..."
        }
      });
    • Additional Notes:

      • The new layout property of startRecording and updateRecording method are only applicable for the new cloud-beta recording type.
      • Cloud recording is only available to Scale Plans and is an additional charge. See daily.co/pricing.

    For more details on these recording improvements, please contact daily

Don't miss a new daily-js release

NewReleases is sending notifications on new releases.