Rodio audio (#37786)
Adds input to the experimental rodio_audio pipeline.
Enable with:
```json
"audio": {
"experimental.rodio_audio": true
}
```
Additionally enables automatic volume
control for incoming audio:
```json
"audio": {
"experimental.control_output_volume": true
}
```
Release Notes:
- N/A
This commit is contained in:
@@ -255,7 +255,10 @@ impl LivekitWindow {
|
||||
} else {
|
||||
let room = self.room.clone();
|
||||
cx.spawn_in(window, async move |this, cx| {
|
||||
let (publication, stream) = room.publish_local_microphone_track(cx).await.unwrap();
|
||||
let (publication, stream) = room
|
||||
.publish_local_microphone_track("test_user".to_string(), false, cx)
|
||||
.await
|
||||
.unwrap();
|
||||
this.update(cx, |this, cx| {
|
||||
this.microphone_track = Some(publication);
|
||||
this.microphone_stream = Some(stream);
|
||||
|
||||
Reference in New Issue
Block a user