mirror of
https://github.com/ratspeak/rsLXST
synced 2026-11-22 23:10:37 +00:00
docs: README and changelog for 0.4.0
This commit is contained in:
1 parent
e01e28693d
commit
ed9dfdd74b
2 files changed
+30
-86
No files matched your search
+18
-31
@@ -2,38 +2,25 @@
|
|||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
Parity with Python LXST 0.6.0. Several experimental APIs change.
|
## 0.4.0 - 2026-11-13
|
||||||
|
|
||||||
- Call modes: full and half duplex are signalled with the profile when the
|
### Added
|
||||||
callee rings, can be switched during a call, and squelch transmit in half
|
|
||||||
duplex. `TelephonyControl::Call` takes a `mode`.
|
- **Call modes**: calls can be full or half duplex, as in LXST 0.6.0, and switch during a call. `TelephonyControl::Call` takes a `mode`; `None` is full duplex.
|
||||||
- The callee is established as soon as it answers. The answer retry and its
|
- **Stamped calls**: call announces and link requests carry stamps when Reticulum's `[stamps]` settings ask for them, and call links use Link MTU discovery.
|
||||||
timeout are removed (`retry_answer`, `answer_retry_interval`,
|
|
||||||
`answer_timeout`).
|
### Fixed and improved
|
||||||
- Outgoing calls end unless the callee rings within `connect_timeout`
|
|
||||||
(5 seconds by default), and the 70 second wait runs from the call request,
|
- Calls connect as in LXST 0.6.0: the callee is established as soon as it answers, and a lost setup packet no longer ends a call. Check `audio_started` to know when audio is running.
|
||||||
path discovery included.
|
- An outgoing call ends if the callee doesn't ring within `connect_timeout` (5 seconds by default), and the line is busy while a call looks for its path.
|
||||||
- The line is busy while an outgoing call discovers its path.
|
- `lxst-embedded` sessions use LXST 0.6.0's ring, wait, and connect times; change them with `SessionConfig::times`.
|
||||||
- A call to a peer with a known path sends no path request.
|
- The first announce goes out 5 seconds after start, with no startup burst by default.
|
||||||
- The first announce follows 5 seconds after start; the startup announce burst
|
- `opus-rs` 0.1.42 fixes a decoder crash on a crafted packet, and a damaged frame is now skipped instead of dropping its whole packet.
|
||||||
is off by default.
|
|
||||||
- Received audio is decoded by the codec of each frame, and a bad frame is
|
### Build and compatibility
|
||||||
skipped instead of dropping its packet.
|
|
||||||
- `Profile::buffer_frames` gives the receive buffer depth of each profile.
|
- rsLXST now uses rsReticulum `~1.5.0`, whose default storage builds a bundled SQLite and needs a C compiler.
|
||||||
- Raw float128 samples use IEEE binary128.
|
- API changes, including the removed answer retry, call modes, and async outgoing link calls, are listed in the [migration guide](api/migrations/next.md).
|
||||||
- `opus-rs` moves from 0.1.29 to 0.1.42, which fixes a decoder panic on a
|
|
||||||
crafted SILK frame. A decoder panic on a peer's packet now rejects the
|
|
||||||
packet and resets the decoder.
|
|
||||||
- The Medium voice profile stays wideband SILK at its 8 kbps ceiling, now by
|
|
||||||
an explicit bandwidth setting; the encoder takes the profile's own sample
|
|
||||||
rate. (libopus 1.5 picks wideband there and libopus 1.6 narrowband.)
|
|
||||||
- `lxst-embedded` sessions default to the 60, 70, and 5 second ring, wait,
|
|
||||||
and connect times; `SessionConfig::times` (`CallTimes`) changes them.
|
|
||||||
- A caller is established once it has handled CONNECTING, so a lost
|
|
||||||
ESTABLISHED no longer ends the call at the wait time. Its audio, and media
|
|
||||||
sent or received, still start only on the callee's ESTABLISHED
|
|
||||||
(`audio_started`).
|
|
||||||
- The media vector generator moved to `tools/fixtures/lxst_media_fixtures.py`.
|
|
||||||
|
|
||||||
## 0.3.1 - 2026-11-08
|
## 0.3.1 - 2026-11-08
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
[](LICENSE)
|
[](LICENSE)
|
||||||
[](https://www.rust-lang.org)
|
[](https://www.rust-lang.org)
|
||||||
[](https://github.com/markqvist/LXST)
|
[](https://github.com/markqvist/LXST)
|
||||||
[](#release-scope)
|
[](#release-scope)
|
||||||
|
|
||||||
[rsLXMF](https://github.com/ratspeak/rsLXMF) |
|
[rsLXMF](https://github.com/ratspeak/rsLXMF) |
|
||||||
@@ -21,24 +21,13 @@
|
|||||||
rsLXST is a Rust port of [LXST](https://github.com/markqvist/LXST), Mark Qvist's
|
rsLXST is a Rust port of [LXST](https://github.com/markqvist/LXST), Mark Qvist's
|
||||||
Lightweight Extensible Signal Transport for real-time voice calls and other
|
Lightweight Extensible Signal Transport for real-time voice calls and other
|
||||||
media streams over Reticulum. It was written from the reference source with
|
media streams over Reticulum. It was written from the reference source with
|
||||||
interoperability as the primary focus. Python LXST remains the source-of-truth
|
interoperability as the primary focus.
|
||||||
implementation; do not treat this repository as one.
|
|
||||||
|
|
||||||
rsLXST is Ratspeak's voice component. The LXST author licenses this port for
|
rsLXST is Ratspeak's voice component. The LXST author licenses this port for
|
||||||
use in Ratspeak only, for non-commercial use, with no derivatives or use outside
|
use in Ratspeak only, for non-commercial use, with no derivatives or use outside
|
||||||
Ratspeak; see [License](#license). The build, test, and API notes below document
|
Ratspeak; see [License](#license). The build, test, and API notes below document
|
||||||
the code for Ratspeak development.
|
the code for Ratspeak development.
|
||||||
|
|
||||||
The current rsLXST is experimental and incomplete. It provides LXST wire codecs,
|
|
||||||
Reticulum link media packet boundaries, a telephony runtime, and Opus stream
|
|
||||||
integration for Ratspeak.
|
|
||||||
|
|
||||||
This README describes the 0.3.1 release, `v0.3.1`, declaring version **0.3.1**
|
|
||||||
and using rsReticulum **1.4.0** (`v1.4.0`); it is the source line Ratspeak
|
|
||||||
builds from. The earlier `v0.3.0` release uses the **1.3.0** Reticulum
|
|
||||||
dependency line. Keep the dependency set associated with the source you build;
|
|
||||||
a matching rsLXST package version alone is not enough.
|
|
||||||
|
|
||||||
## Contents
|
## Contents
|
||||||
|
|
||||||
- [Release Scope](#release-scope)
|
- [Release Scope](#release-scope)
|
||||||
@@ -47,23 +36,16 @@ a matching rsLXST package version alone is not enough.
|
|||||||
- [Crate Layout](#crate-layout)
|
- [Crate Layout](#crate-layout)
|
||||||
- [Using Telephony](#using-telephony)
|
- [Using Telephony](#using-telephony)
|
||||||
- [Rust API](api/README.md)
|
- [Rust API](api/README.md)
|
||||||
- [Contributing](#contributing)
|
|
||||||
- [License](#license)
|
- [License](#license)
|
||||||
- [Third-party licenses](#third-party-licenses)
|
- [Third-party licenses](#third-party-licenses)
|
||||||
|
|
||||||
## Release Scope
|
## Release Scope
|
||||||
|
|
||||||
The implemented application path covers telephony signalling and negotiated
|
The implemented application path covers telephony signalling, full- and
|
||||||
Opus or native Codec2 media over Reticulum Links. It does not provide a
|
half-duplex call modes, and negotiated Opus or native Codec2 media over
|
||||||
`rnphone-rs` client, a general platform microphone/speaker backend, or complete
|
Reticulum Links. It does not provide a
|
||||||
parity with the Python reference's audio graph and non-telephony features.
|
`rnphone-rs` client, a general platform microphone/speaker backend, or LXST's
|
||||||
|
non-telephony features.
|
||||||
`lxst-core::Codec2PacketCodec` provides bounded, fixed-profile packet processing
|
|
||||||
over a `Codec2Backend`. The workspace supplies native 700C, 1600 and 3200 modes,
|
|
||||||
plus host stream and embedded integration. Caller-owned buffers and complete
|
|
||||||
packet validation bound the codec work; a backend error requires replacement
|
|
||||||
of that packet-codec instance. Board audio, timing, memory and transport still
|
|
||||||
require qualification. Its mode header belongs to LXST, not LXMF audio fields.
|
|
||||||
|
|
||||||
## Build It
|
## Build It
|
||||||
|
|
||||||
@@ -83,13 +65,12 @@ mkdir ratspeak-src
|
|||||||
cd ratspeak-src
|
cd ratspeak-src
|
||||||
git clone https://github.com/ratspeak/rsReticulum
|
git clone https://github.com/ratspeak/rsReticulum
|
||||||
git clone https://github.com/ratspeak/rsLXST
|
git clone https://github.com/ratspeak/rsLXST
|
||||||
git -C rsReticulum checkout --detach v1.4.0
|
git -C rsReticulum checkout --detach v1.5.0
|
||||||
git -C rsLXST checkout --detach v0.3.1
|
git -C rsLXST checkout --detach v0.4.0
|
||||||
cd rsLXST
|
cd rsLXST
|
||||||
```
|
```
|
||||||
|
|
||||||
The commands below run from that `rsLXST` directory. For the earlier 0.3.0
|
The commands below run from that `rsLXST` directory.
|
||||||
release, use `v0.3.0` with its rsReticulum `v1.3.0` sibling instead.
|
|
||||||
|
|
||||||
### macOS
|
### macOS
|
||||||
|
|
||||||
@@ -161,11 +142,8 @@ cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
|
|||||||
cargo test --workspace --locked
|
cargo test --workspace --locked
|
||||||
```
|
```
|
||||||
|
|
||||||
The test gate covers wire codecs, telephony state, profile metadata, Opus
|
The live call tests against Python LXST are not part of ordinary runs. Run
|
||||||
stream boundaries, malformed-input handling, the local service runtime, Python
|
them explicitly with:
|
||||||
LXST wire parity, and Reticulum destination parity. Live headless Telephone
|
|
||||||
interop is intentionally excluded from ordinary `cargo test` runs because it
|
|
||||||
starts Python processes and TCP interfaces. Run that suite explicitly with:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo test -p lxst-telephony --test python_telephone_live_interop -- --ignored
|
cargo test -p lxst-telephony --test python_telephone_live_interop -- --ignored
|
||||||
@@ -237,20 +215,6 @@ The compiled [`service` example](crates/lxst-telephony/examples/service.rs)
|
|||||||
checks construction and types. It does not run a transport or place a call. The lower-level endpoint and runtime types remain
|
checks construction and types. It does not run a transport or place a call. The lower-level endpoint and runtime types remain
|
||||||
available for compatible specialist use, but are experimental SPI.
|
available for compatible specialist use, but are experimental SPI.
|
||||||
|
|
||||||
An initial Reticulum `LINKREQUEST` still follows normal destination routing.
|
|
||||||
After proof validation, rsLXST binds the call to the exact interface that
|
|
||||||
established the Link. Signalling, identification, keepalives, media, and close
|
|
||||||
traffic never reroute through a newly learned path, and packets arriving on a
|
|
||||||
different interface are rejected before decryption or call accounting.
|
|
||||||
Interface loss terminates that exact call.
|
|
||||||
|
|
||||||
Control and teardown traffic use an ordered, bounded Link endpoint queue. Final
|
|
||||||
teardown waits for the ordered close-send attempt to drain or fail terminally
|
|
||||||
before transport removes the endpoint and temporary Link destination. Realtime media uses exact-interface best-effort
|
|
||||||
delivery instead: it never enters the lossless control queue, reports drops
|
|
||||||
under backpressure, and intentionally does not request Reticulum delivery
|
|
||||||
receipts.
|
|
||||||
|
|
||||||
For Opus calls, the host app supplies and receives `RawAudioFrame` values through
|
For Opus calls, the host app supplies and receives `RawAudioFrame` values through
|
||||||
`StartOpusStream` and `StartOpusReceiveStream`. rsLXST enforces the negotiated
|
`StartOpusStream` and `StartOpusReceiveStream`. rsLXST enforces the negotiated
|
||||||
LXST profile and reports profile changes, source/sink closure, frame drops, and
|
LXST profile and reports profile changes, source/sink closure, frame drops, and
|
||||||
@@ -286,13 +250,6 @@ VLBW and LBW profiles. Device timing, stack and audio qualification remain
|
|||||||
required before use on hardware. This backend does not implement Opus voice
|
required before use on hardware. This backend does not implement Opus voice
|
||||||
memo containers.
|
memo containers.
|
||||||
|
|
||||||
## Contributing
|
|
||||||
|
|
||||||
If the issue or contribution belongs upstream as well, start there. Python LXST
|
|
||||||
and Reticulum remain the reference implementations.
|
|
||||||
|
|
||||||
PRs are closed for now until I have time to catch up on everything.
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
rsLXST is used under the license in [LICENSE](LICENSE), reproduced here:
|
rsLXST is used under the license in [LICENSE](LICENSE), reproduced here:
|
||||||
|
|||||||
Reference in new issue
Block a user