mirror of
https://github.com/ratspeak/rsLXST
synced 2026-11-22 23:10:37 +00:00
api: record native live audio and input lease contract
This commit is contained in:
1 parent
e8c1a8d85a
commit
6f7b608a17
2 files changed
+52
-7
No files matched your search
@@ -4,6 +4,7 @@ pub lxst_telephony::CallerAllowPolicy::All
|
||||
pub lxst_telephony::CallerAllowPolicy::List(alloc::vec::Vec<lxst_telephony::IdentityHash>)
|
||||
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<lxst_c
|
||||
pub lxst_telephony::TelephonyControl::Call::remote_identity: lxst_telephony::IdentityHash
|
||||
pub lxst_telephony::TelephonyControl::Hangup
|
||||
pub lxst_telephony::TelephonyControl::Hangup::ring_timeout: bool
|
||||
pub lxst_telephony::TelephonyControl::SendAudioFrames
|
||||
pub lxst_telephony::TelephonyControl::SendAudioFrames::frames: alloc::vec::Vec<lxst_core::raw::RawAudioFrame>
|
||||
pub lxst_telephony::TelephonyControl::SendAudioFrames::profile: lxst_core::profile::Profile
|
||||
pub lxst_telephony::TelephonyControl::SendOpusFrames
|
||||
pub lxst_telephony::TelephonyControl::SendOpusFrames::frames: alloc::vec::Vec<lxst_core::raw::RawAudioFrame>
|
||||
pub lxst_telephony::TelephonyControl::SendOpusFrames::profile: lxst_core::profile::Profile
|
||||
@@ -111,11 +115,20 @@ pub lxst_telephony::TelephonyControl::SendRawFrames::frames: alloc::vec::Vec<lxs
|
||||
pub lxst_telephony::TelephonyControl::SetAccessPolicy(lxst_telephony::CallerAccessPolicy)
|
||||
pub lxst_telephony::TelephonyControl::SetExternalBusy(bool)
|
||||
pub lxst_telephony::TelephonyControl::Shutdown
|
||||
pub lxst_telephony::TelephonyControl::StartAudioReceiveStream
|
||||
pub lxst_telephony::TelephonyControl::StartAudioReceiveStream::frames: tokio::sync::mpsc::bounded::Sender<lxst_core::raw::RawAudioFrame>
|
||||
pub lxst_telephony::TelephonyControl::StartAudioStream
|
||||
pub lxst_telephony::TelephonyControl::StartAudioStream::frames: tokio::sync::mpsc::bounded::Receiver<lxst_core::raw::RawAudioFrame>
|
||||
pub lxst_telephony::TelephonyControl::StartAudioStream::gate: core::option::Option<alloc::sync::Arc<lxst_telephony::AudioTransmitGate>>
|
||||
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<lxst_core::raw::RawAudioFrame>
|
||||
pub lxst_telephony::TelephonyControl::StartOpusStream
|
||||
pub lxst_telephony::TelephonyControl::StartOpusStream::frames: tokio::sync::mpsc::bounded::Receiver<lxst_core::raw::RawAudioFrame>
|
||||
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<lxst_core::raw::RawAudioFrame>
|
||||
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<lxst_core::profile::SignallingStatus>
|
||||
@@ -196,6 +232,13 @@ pub lxst_telephony::ActiveCallSnapshot::profile: core::option::Option<lxst_core:
|
||||
pub lxst_telephony::ActiveCallSnapshot::remote_identity: lxst_telephony::IdentityHash
|
||||
pub lxst_telephony::ActiveCallSnapshot::role: lxst_core::telephony::CallRole
|
||||
pub lxst_telephony::ActiveCallSnapshot::status: lxst_core::profile::SignallingStatus
|
||||
pub struct lxst_telephony::AudioTransmitGate
|
||||
impl lxst_telephony::AudioTransmitGate
|
||||
pub fn lxst_telephony::AudioTransmitGate::allows(&self) -> 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<lxst_telephony::IdentityHash>
|
||||
|
||||
+9
-7
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user