feat(pi-natives): added LiveWebRtcPeer and deviceCheckGenerateToken bindings

- Replaced puppeteer-based WebRTC with native LiveWebRtcPeer for cross-platform live audio delivery.
- Added cross-platform microphone capture via miniaudio and Opus codec integration for live encoding/decoding.
- Added Apple DeviceCheck attestation token generation via raw Objective-C FFI for macOS.
- Updated live session model to "gpt-live-1-codex" and default voice to "sol" across protocol and controller.
- Added LiveWebRtcPeer and deviceCheckGenerateToken to the public native bindings API.
This commit is contained in:
can1357
2026-07-24 08:22:22 +02:00
parent 75cc0a054f
commit b76c07ece2
18 changed files with 3152 additions and 170 deletions
+8
View File
@@ -238,6 +238,14 @@ smallvec = { version = "1.15.1", features = [
xxhash-rust = { version = "0.8", features = ["xxh64"] }
# ──────────────────────────────────────────────────────────────────────────────
# Audio & Realtime Media
# ──────────────────────────────────────────────────────────────────────────────
audiopus_sys = { version = "0.2.2", features = ["static"] }
miniaudio = { package = "om-fork-miniaudio", version = "0.12.2" }
opus = "0.3.1"
webrtc = "0.17.2"
# ──────────────────────────────────────────────────────────────────────────────
# System & Platform
# ──────────────────────────────────────────────────────────────────────────────