Skip to content

v0.24.0

Choose a tag to compare

@aconchillo aconchillo released this 10 Mar 03:44
· 24 commits to main since this release

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.