github daily-co/daily-js daily-js-2022-06-16-0.27.0
0.27.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

  • Added ability to add/remove rtmp endpoints for live streaming
    • See the endpoints argument in startLiveStreaming and the new methods addLiveStreamingEndpoints and removeLiveStreamingEndpoints for more details.
  • Added new DailyAdvancedConfig flag, noAutoDefaultDeviceChange, to turn off the default behavior of automatically switching the device when the default device is selected and changes.
  • You can opt in to making daily-js behave in a CSP-friendly way by specifying dailyConfig: { avoidEval: true } wherever you provide your call options. If you do so, using daily-js will no longer require you to use 'unsafe-eval' in your script-src directive. IMPORTANT: you will, however, have to specify https://*.daily.co in its place.
  • Transcription Improvements: Added the ability to set the language and model for transcriptions as well as introduced new ‘who done it’ fields in the transcription started/stopped events.
  • Added ability to configure high quality audio output when in SFU mode. See new fields in the dailyConfig object included in the frame properties
    • micAudioMode: defaults to null. set to music to increase the average bitrate of the microphone track to 256K.
    • userMediaAudioConstraints: allows you to pass in custom media track constraints for use in the getUserMedia call for the microphone track.

Bugfixes

  • Fixed type information for DailyStreamingEndpoint

Other improvements

  • Added Hermes-compatible dev builds
  • Add clearer error message for when caller uses unexpected key for custom button

Don't miss a new daily-js release

NewReleases is sending notifications on new releases.