Skip to content

Releases: daily-co/daily-python

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.

v0.19.9

06 Sep 01:08

Choose a tag to compare

Fixed

  • Fixed an issue where custom audio tracks won't send silence from the very beginning. This is necessary to avoid issues with browsers that expect RTP packets from the start.

v0.19.8

27 Aug 21:45

Choose a tag to compare

Fixed

  • Fixed an issue where the application could keep attempting to send messages after the signaling channel was closed preventing the application to finish.