Releases: daily-co/daily-python
v0.28.1
v0.28.0
Added
- Added support for
screenVideocustom 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_layerstoFalsein the camerasend_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
ureqHTTP client withhyper+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
Added
- Added
auto_silenceparameter toCustomAudioSource. When set toTrue(default), silence is automatically sent when no audio frames are being written. When set toFalse, no audio is sent while the source is idle.
v0.26.0
Added
- Added debug logs to HTTP requests.
v0.25.0
Added
-
Added support for
dtmf-event. -
Added
providerfield to dialout properties. Currently only supports"daily". -
Added
extensionandwaitBeforeExtensionDialSecfields to dialout properties. -
Added optional
methodfield to send DTMF properties. Supported values are"sip-info","telephone-event", and"auto". -
Added optional
digitDurationMsfield to send DTMF properties.
v0.24.0
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
Added
- Added a
trackTypefield to thetranscription-messageevent 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
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
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
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.