realtime: fix output format rate and smooth playback buffer

This commit is contained in:
Ahmed Ibrahim
2026-03-04 17:09:40 -08:00
parent f13917d50e
commit 159bda93c6
3 changed files with 90 additions and 15 deletions

View File

@@ -67,6 +67,7 @@ pub(super) struct SessionAudioOutput {
pub(super) struct SessionAudioOutputFormat {
#[serde(rename = "type")]
pub(super) kind: String,
pub(super) rate: u32,
}
#[derive(Debug, Clone, Serialize)]