Skip to content

Releases: daily-co/daily-python

v0.1.1

28 Sep 00:36
Compare
Choose a tag to compare
  • Fixed an issue where virtual devices could cause other Python threads to be blocked.

v0.1.0

27 Sep 04:20
Compare
Choose a tag to compare
  • Fixed an issue where meeting_token was not properly handled in CallClient.join().

  • VirtualMicrophoneDevice.write_samples() has been renamed to VirtualMicrophoneDevice.write_frames()

  • VirtualMicrophoneDevice.read_samples() has been renamed to VirtualMicrophoneDevice.read_frames()

  • VirtualMicrophoneDevice.write_frames() now takes a single argument frames. 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

26 Sep 01:25
Compare
Choose a tag to compare
  • 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, an RGBA image will have R in the first byte, G in the second byte, B in the third byte, A in the fourth byte and so on.
  • Daily.init() parameter virtual_devices is not necessary anymore. Therefore, Daily.init(virtual_devices = True) is now simply Daily.init().

v0.0.14

26 Sep 01:23
Compare
Choose a tag to compare
  • CallClient new method get_network_stats() to get latest network statistics.
  • Fixed an issue where EventHandler's on_network_stats_updated() was not being called with network stats updates.

v0.0.13

26 Sep 01:22
Compare
Choose a tag to compare
  • Linux aarch64 support.
  • CallClient now has a new method send_app_message to broadcast messages to other participants or to a single participant. These messages can be received through an EventHandler subclass via on_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

26 Sep 01:21
Compare
Choose a tag to compare
  • Improvements handling audio samples internally.

v0.0.11

26 Sep 01:19
Compare
Choose a tag to compare
  • Add event handling support with the new EventHandler class.

v0.0.10

26 Sep 01:17
Compare
Choose a tag to compare
  • Split virtual devices into speakers and microphones.

v0.0.9

26 Sep 01:17
Compare
Choose a tag to compare
  • Fixed a crash caused by virtual audio devices not being selected properly.

v0.0.8

26 Sep 01:16
Compare
Choose a tag to compare
  • Added API documentation.
  • Implemented publishing() functions.
  • Added ColorFormat to VideoFrame class.