Skip to content

Commit

Permalink
fix: no tokio-reactor on ffi audio capture (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
theomonnom authored Sep 4, 2023
1 parent d1f8d4f commit c8badf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion livekit-ffi/src/server/audio_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ impl FfiAudioSource {
let source = self.source.clone();
let async_id = server.next_id();

tokio::spawn(async move {
server.async_runtime.spawn(async move {
// The data must be available as long as the client receive the callback.
let data = unsafe {
let len = buffer.num_channels * buffer.samples_per_channel;
Expand Down

0 comments on commit c8badf8

Please sign in to comment.