Skip to content

Releases: daily-co/daily-python

v0.28.1

07 May 23:59

Choose a tag to compare

Fixed

  • Fixed a segmentation fault that could occur after virtual microphone or speaker inputs or publishing updates.

v0.28.0

27 Apr 19:53

Choose a tag to compare

Added

  • Added support for screenVideo custom tracks. It is now possible to send a custom screen share track with:
{
  "inputs": {
      "screenVideo": {
          "isEnabled": True,
          "settings": {
             "customTrack": {
                 "id": "CUSTOM_TRACK_ID"
             }
          }
      }
  }
}

Changed

  • Adaptive Bitrate (ABR) is now enabled by default for camera tracks. It can still be disabled by setting allow_adaptive_layers to False in the camera send_settings.

Fixed

  • Fixed panics in signalling reconnect paths when room lookup returns no worker.

  • Fixed support for cloud-audio-only recording type.

Performance

  • Added per-phase connection timing metrics for WebSocket signalling (DNS lookup, TCP connect, TLS handshake, and WebSocket upgrade), complementing the existing HTTP connection timings.

  • Replaced ureq HTTP client with hyper + rustls (ring backend). Includes connection timeouts, TLS configuration reuse, and per-request timing metrics for DNS lookup, TCP connect, and TLS handshake.

v0.27.0

23 Mar 20:36

Choose a tag to compare

Added

  • Added auto_silence parameter to CustomAudioSource. When set to True (default), silence is automatically sent when no audio frames are being written. When set to False, no audio is sent while the source is idle.

v0.26.0

21 Mar 04:31

Choose a tag to compare

Added

  • Added debug logs to HTTP requests.

v0.25.0

17 Mar 00:35

Choose a tag to compare

Added

  • Added support for dtmf-event.

  • Added provider field to dialout properties. Currently only supports "daily".

  • Added extension and waitBeforeExtensionDialSec fields to dialout properties.

  • Added optional method field to send DTMF properties. Supported values are "sip-info", "telephone-event", and "auto".

  • Added optional digitDurationMs field to send DTMF properties.

v0.24.0

10 Mar 03:44

Choose a tag to compare

Added

  • Added a new CustomVideoTrack. This new track can be used as an additional custom video track (i.e. with custom names) or as the main camera track.
video_source = CustomVideoSource(width=1280, height=720, color_format="RGBA")

video_track = CustomVideoTrack(video_source)

client.join("YOUR_DAILY_ROOM", client_settings={
    "inputs": {
        "camera": {
            "isEnabled": True,
            "settings": {
               "customTrack": {
                   "id": video_track.id
               }
            }
        }
    }
})

# Write video frames
frame = bytes([255, 0, 0, 255] * 1280 * 720)  # RGBA
video_source.write_frame(frame)

Changed

  • Updated to PyO3 0.28.2.

Fixed

  • Avoid unnecessary signalling reconnection attempts when leave() is called during a network failure.

v0.23.0

18 Dec 01:18

Choose a tag to compare

Added

  • Added a trackType field to the transcription-message event to indicate which track the transcription originated from.

Changed

  • Updated to PyO3 0.27.2.

  • Updated to maturin 1.10.2.

  • Updated libc to 0.2.178.

v0.22.0

20 Nov 05:53

Choose a tag to compare

Changed

  • Updated to PyO3 0.27.1.

  • Updated to maturin 1.10.1.

Fixed

  • Fixed an issue that could cause a crash when leaving a room if a video or audio renderer was active.

Others

  • Updated demo requirements to latest versions and fix demos.

v0.21.0

29 Oct 00:21

Choose a tag to compare

Changed

  • Increased start transcription and start dialout timeouts to 20 seconds.

  • CallClient.start_dialout() now returns two parameters in the completion callback: session ID and error. Previously, it only returned an error.

  • CallClient.start_recording() now returns two parameters in the completion callback: stream ID and error. Previously, it only return an error.

Fixed

  • Fixed an issue where start recording, start transcription and start dialout server error messages were ignored.

v0.20.0

16 Oct 23:17

Choose a tag to compare

Changed

  • Updated to PyO3 0.26.0.

Fixed

  • Fixed an issue that could cause a segmentation fault when switching or stopping the network while using custom audio sources.