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
Fixed
- Avoid unnecessary signalling reconnection attempts when
leave() is called during a network failure.