diff --git a/api/snapshots/lxst-telephony.txt b/api/snapshots/lxst-telephony.txt index 25f8939..607ac7c 100644 --- a/api/snapshots/lxst-telephony.txt +++ b/api/snapshots/lxst-telephony.txt @@ -4,6 +4,7 @@ pub lxst_telephony::CallerAllowPolicy::All pub lxst_telephony::CallerAllowPolicy::List(alloc::vec::Vec) pub lxst_telephony::CallerAllowPolicy::None pub enum lxst_telephony::Error +pub lxst_telephony::Error::Audio(alloc::string::String) pub lxst_telephony::Error::CallNotAnswerable pub lxst_telephony::Error::CallNotEstablished pub lxst_telephony::Error::Destination(rns_identity::destination::DestinationError) @@ -102,6 +103,9 @@ pub lxst_telephony::TelephonyControl::Call::profile: core::option::Option +pub lxst_telephony::TelephonyControl::SendAudioFrames::profile: lxst_core::profile::Profile pub lxst_telephony::TelephonyControl::SendOpusFrames pub lxst_telephony::TelephonyControl::SendOpusFrames::frames: alloc::vec::Vec pub lxst_telephony::TelephonyControl::SendOpusFrames::profile: lxst_core::profile::Profile @@ -111,11 +115,20 @@ pub lxst_telephony::TelephonyControl::SendRawFrames::frames: alloc::vec::Vec +pub lxst_telephony::TelephonyControl::StartAudioStream +pub lxst_telephony::TelephonyControl::StartAudioStream::frames: tokio::sync::mpsc::bounded::Receiver +pub lxst_telephony::TelephonyControl::StartAudioStream::gate: core::option::Option> +pub lxst_telephony::TelephonyControl::StartAudioStream::link_id: lxst_telephony::LinkId +pub lxst_telephony::TelephonyControl::StartAudioStream::profile: lxst_core::profile::Profile pub lxst_telephony::TelephonyControl::StartOpusReceiveStream pub lxst_telephony::TelephonyControl::StartOpusReceiveStream::frames: tokio::sync::mpsc::bounded::Sender pub lxst_telephony::TelephonyControl::StartOpusStream pub lxst_telephony::TelephonyControl::StartOpusStream::frames: tokio::sync::mpsc::bounded::Receiver pub lxst_telephony::TelephonyControl::StartOpusStream::profile: lxst_core::profile::Profile +pub lxst_telephony::TelephonyControl::StopAudioReceiveStream +pub lxst_telephony::TelephonyControl::StopAudioStream pub lxst_telephony::TelephonyControl::StopOpusReceiveStream pub lxst_telephony::TelephonyControl::StopOpusStream pub lxst_telephony::TelephonyControl::SwitchProfile @@ -136,6 +149,29 @@ pub lxst_telephony::TelephonyLinkEvent::RemoteIdentified pub lxst_telephony::TelephonyLinkEvent::RemoteIdentified::link_id: lxst_telephony::LinkId pub lxst_telephony::TelephonyLinkEvent::RemoteIdentified::remote_identity: lxst_telephony::IdentityHash pub enum lxst_telephony::TelephonyServiceEvent +pub lxst_telephony::TelephonyServiceEvent::AudioFramesReceived +pub lxst_telephony::TelephonyServiceEvent::AudioFramesReceived::frames: alloc::vec::Vec +pub lxst_telephony::TelephonyServiceEvent::AudioFramesReceived::link_id: lxst_telephony::LinkId +pub lxst_telephony::TelephonyServiceEvent::AudioFramesReceived::profile: lxst_core::profile::Profile +pub lxst_telephony::TelephonyServiceEvent::AudioReceiveStreamFrames +pub lxst_telephony::TelephonyServiceEvent::AudioReceiveStreamFrames::dropped: usize +pub lxst_telephony::TelephonyServiceEvent::AudioReceiveStreamFrames::frames: usize +pub lxst_telephony::TelephonyServiceEvent::AudioReceiveStreamFrames::link_id: lxst_telephony::LinkId +pub lxst_telephony::TelephonyServiceEvent::AudioReceiveStreamFrames::profile: lxst_core::profile::Profile +pub lxst_telephony::TelephonyServiceEvent::AudioReceiveStreamStarted +pub lxst_telephony::TelephonyServiceEvent::AudioReceiveStreamStarted::link_id: lxst_telephony::LinkId +pub lxst_telephony::TelephonyServiceEvent::AudioReceiveStreamStarted::profile: lxst_core::profile::Profile +pub lxst_telephony::TelephonyServiceEvent::AudioReceiveStreamStopped +pub lxst_telephony::TelephonyServiceEvent::AudioReceiveStreamStopped::link_id: lxst_telephony::LinkId +pub lxst_telephony::TelephonyServiceEvent::AudioReceiveStreamStopped::profile: lxst_core::profile::Profile +pub lxst_telephony::TelephonyServiceEvent::AudioReceiveStreamStopped::reason: lxst_telephony::OpusReceiveStreamStopReason +pub lxst_telephony::TelephonyServiceEvent::AudioTransmitStreamStarted +pub lxst_telephony::TelephonyServiceEvent::AudioTransmitStreamStarted::link_id: lxst_telephony::LinkId +pub lxst_telephony::TelephonyServiceEvent::AudioTransmitStreamStarted::profile: lxst_core::profile::Profile +pub lxst_telephony::TelephonyServiceEvent::AudioTransmitStreamStopped +pub lxst_telephony::TelephonyServiceEvent::AudioTransmitStreamStopped::link_id: lxst_telephony::LinkId +pub lxst_telephony::TelephonyServiceEvent::AudioTransmitStreamStopped::profile: lxst_core::profile::Profile +pub lxst_telephony::TelephonyServiceEvent::AudioTransmitStreamStopped::reason: lxst_telephony::OpusTransmitStreamStopReason pub lxst_telephony::TelephonyServiceEvent::CallTerminated pub lxst_telephony::TelephonyServiceEvent::CallTerminated::link_id: lxst_telephony::LinkId pub lxst_telephony::TelephonyServiceEvent::CallTerminated::reason: core::option::Option @@ -196,6 +232,13 @@ pub lxst_telephony::ActiveCallSnapshot::profile: core::option::Option bool +pub fn lxst_telephony::AudioTransmitGate::close(&self) +pub fn lxst_telephony::AudioTransmitGate::new() -> Self +pub fn lxst_telephony::AudioTransmitGate::serial(&self) -> u64 +pub fn lxst_telephony::AudioTransmitGate::update(&self, u64, bool) -> bool pub struct lxst_telephony::CallerAccessPolicy pub lxst_telephony::CallerAccessPolicy::allowed: lxst_telephony::CallerAllowPolicy pub lxst_telephony::CallerAccessPolicy::blocked: alloc::vec::Vec diff --git a/api/stability.json b/api/stability.json index 89e3d04..d961a18 100644 --- a/api/stability.json +++ b/api/stability.json @@ -19,7 +19,7 @@ "sourceCommit": "af89a03094605dbdf7264d06fdc546526ec6980b" }, "snapshotSource": { - "commit": "ba573034d4ed30ca2ae36349b2396bfd00c89193", + "commit": "e8c1a8d85a8792c3be21ba910db1d236f3ed1c4d", "capturedOn": "2026-10-01", "review": { "areas": [ @@ -27,7 +27,8 @@ "Allocation-free native 1600/3200 Codec2 state initialized in caller storage", "Bounded fixed-profile Codec2 packet processing and caller-owned PCM/output buffers", "Native Codec2 backend contract and failure-state ownership", - "Existing Opus and telephony APIs retained" + "Existing Opus and telephony APIs retained", + "Host native Codec2 live streams and exact-Link revocable PTT lease; generic audio controls/events preserve existing Opus API" ], "canonicalPath": "lxst_telephony::TelephonyService", "canonicalConstruction": [ @@ -41,14 +42,14 @@ "TelephonyService::new", "TelephonyService::with_config" ], - "classification": "additive experimental embedded boundary; existing host API retained", + "classification": "additive experimental live audio and embedded boundary; existing host API retained", "publicApiDiff": { "added": 329, "removed": 0 }, "semver": "additive experimental API in the unreleased 0.2 line; no existing signatures removed or changed", "deprecations": "none", - "wirePersistenceRuntimeImpact": "Wire IDs and packet forms unchanged. Existing host transitions now share an allocation-free core with a bounded embedded facade; the new session facade gates media on authenticated identity, acceptance, audio readiness and a fresh local PTT press. Firmware integration remains separate.", + "wirePersistenceRuntimeImpact": "Existing Opus and native Codec2 wire identifiers and payloads remain unchanged. Generic host stream controls support native 1600/3200; optional local input leases gate queue admission, clear stale PCM, expire on UI stalls and limit bursts. No remote floor or LXMF memo extension.", "platformEvidence": [ "68 lxst-core tests including existing Python wire/raw parity", "stable and Rust 1.87 strict Clippy", @@ -58,7 +59,8 @@ "Native zero-allocation contract, independent duplex histories and 20000 arbitrary decoder frames", "12 bounded backend/C reference packet cases, exact locked ESP32-S3 compiler build and stable/MSRV strict Clippy", "Embedded/full Rust canonical packets and shared transition parity; bounded malformed/random input and PTT privacy/lifecycle tests", - "Standalone embedded boundary builds no_std with the selected ESP32-S3 compiler" + "Standalone embedded boundary builds no_std with the selected ESP32-S3 compiler", + "73 host telephony tests including encrypted native Codec2 duplex and revocable input lease; stable/MSRV Clippy and external consumer" ], "newPackages": [ "lxst-codec2", @@ -109,8 +111,8 @@ "tier": "experimental", "compatibility": "reviewed-snapshot", "snapshot": "api/snapshots/lxst-telephony.txt", - "itemCount": 317, - "sha256": "e13c7c17ee723a08ce94651aa8f001f335b5abb5d17aefce5f4db695fb7c8128" + "itemCount": 360, + "sha256": "c9b9784a9b09bb41a9beffb29b62085b21f2b22cb8b7d18ef53ea9f673d77698" } ] }