Releases: daily-co/daily-python
Releases · daily-co/daily-python
v0.1.1
- Fixed an issue where virtual devices could cause other Python threads to be blocked.
v0.1.0
-
Fixed an issue where
meeting_token
was not properly handled inCallClient.join()
. -
VirtualMicrophoneDevice.write_samples()
has been renamed toVirtualMicrophoneDevice.write_frames()
-
VirtualMicrophoneDevice.read_samples()
has been renamed toVirtualMicrophoneDevice.read_frames()
-
VirtualMicrophoneDevice.write_frames()
now takes a single argumentframes
.frames
are audio frames, an interleaved set of audio samples per channel.write_frames()
is a synchronous call that will finish when all audio frames have been written.write_frames()
also adds padding when necessary. -
Handling microphone audio samples has been simplified. Previous, the following code was required:
while True:
buffer = stream.read(960)
if not buffer:
break
if len(buffer) < 960:
buffer += b'\00' * (960 - len(buffer))
microphone.write_samples(buffer, 480)
time.sleep(0.03)
It can now be replaced with:
microphone.write_frames(stream.read())
v0.0.15
- Virtual camera support. It is now possible to create a virtual camera and dynamically provide frames to it so they are sent as your client camera to the meeting.
- Color formats have been renamed
ARGB32
->ARGB
,BGRA32
->BGRA
........RGB24
->RGB
. The bytestrings with frame contents are now expected to follow the color format order. So, for example, anRGBA
image will haveR
in the first byte,G
in the second byte,B
in the third byte,A
in the fourth byte and so on. Daily.init()
parametervirtual_devices
is not necessary anymore. Therefore,Daily.init(virtual_devices = True)
is now simplyDaily.init()
.
v0.0.14
CallClient
new methodget_network_stats()
to get latest network statistics.- Fixed an issue where
EventHandler
'son_network_stats_updated()
was not being called with network stats updates.
v0.0.13
- Linux aarch64 support.
CallClient
now has a new methodsend_app_message
to broadcast messages to other participants or to a single participant. These messages can be received through anEventHandler
subclass viaon_app_message()
event.- Asynchronous functions, such as
join()
, can now receive an optional callback to be called on completion. This can be useful to get data (such as the meeting session ID on join) or to detect any errors.
v0.0.12
- Improvements handling audio samples internally.
v0.0.11
- Add event handling support with the new
EventHandler
class.
v0.0.10
- Split virtual devices into speakers and microphones.
v0.0.9
- Fixed a crash caused by virtual audio devices not being selected properly.
v0.0.8
- Added API documentation.
- Implemented
publishing()
functions. - Added
ColorFormat
toVideoFrame
class.