Skip to content

ffi protocol improvements #164

Merged
theomonnom merged 19 commits intomainfrom
theo/better-proto
Sep 3, 2023
Merged

ffi protocol improvements #164
theomonnom merged 19 commits intomainfrom
theo/better-proto

Conversation

@theomonnom
Copy link
Copy Markdown
Member

@theomonnom theomonnom commented Aug 21, 2023

  • allow to capture audio data without copy
  • added play_from_disk example
  • separate the info and owned messages

breaking changes:

  • capture_frames is now async and automatically handle the clock
  • NativeAudioSource::new now requires the sample_rate and the num_channels

@theomonnom theomonnom requested a review from davidzhao August 25, 2023 19:09
Copy link
Copy Markdown
Member

@davidzhao davidzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work!! just one comment re: sync.

Comment thread examples/play_from_disk/src/main.rs
Comment thread livekit-webrtc/src/native/audio_source.rs
Copy link
Copy Markdown
Member

@davidzhao davidzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Comment thread examples/play_from_disk/src/main.rs Outdated
Comment thread livekit-webrtc/src/native/audio_source.rs
@theomonnom theomonnom merged commit a934d50 into main Sep 3, 2023
@theomonnom theomonnom deleted the theo/better-proto branch September 3, 2023 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants