Correct the paths and statements slice 3 left stale
- docs/session-seam.md 4.1: the TsConnector owns the myTeamSpeak account since a451f02; it is not registered "with the engine's watches". - docs/session-seam.md 16.1: the live tests are src/ts/ts_session/live_tests.rs. - docs/session-seam.md section 10: the acceptance rg is given as it runs from the repository root (--glob '!**/ts/**'); from crates/voelin-core/src the first glob is '!ts/**'. - ts/voice.rs module documentation: the type that runs it is ts_link::TsLink (crate::TsLink is gone). - link/tests.rs: ts/ts_session/driver.rs. - voelin-store (IdentityOrigin::Imported, a one-word path) and docs/research/ui-review.md: voelin_core::ts::identity, ts/voice.rs. - docs/audio.md: LinkCmd::Audio and LinkEvent::Audio are in link/mod.rs. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f0d20cc02f
commit
76a884a779
6 files changed
+17
-12
No files matched your search
@@ -1494,7 +1494,7 @@ async fn a_voice_packet_costs_microseconds_through_both_adapters() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// What the stream task reports before the engine has announced the
|
/// What the stream task reports before the engine has announced the
|
||||||
/// connection waits for it (`ts_session/driver.rs`, `Held`): the engine acts
|
/// connection waits for it (`ts/ts_session/driver.rs`, `Held`): the engine acts
|
||||||
/// on a list of streams as soon as it sees one, and has to know it has voice
|
/// on a list of streams as soon as it sees one, and has to know it has voice
|
||||||
/// by then, as it did when the stream task was not behind a session.
|
/// by then, as it did when the stream task was not behind a session.
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//! The TeamSpeak link: a normal client connection ([`crate::TsLink`] runs
|
//! The TeamSpeak connection: a normal client connection
|
||||||
//! [`run`]).
|
//! ([`TsLink`](super::ts_link::TsLink) runs [`run`]).
|
||||||
//!
|
//!
|
||||||
//! Besides presence, chat, voice and stream signalling it carries what only
|
//! Besides presence, chat, voice and stream signalling it carries what only
|
||||||
//! a client connection can do: pokes, file transfer (channel files,
|
//! a client connection can do: pokes, file transfer (channel files,
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ pub enum IdentityOrigin {
|
|||||||
/// Made by the app on its own because it had none; nobody chose it, so
|
/// Made by the app on its own because it had none; nobody chose it, so
|
||||||
/// the official client's identity may take its place as the default.
|
/// the official client's identity may take its place as the default.
|
||||||
Created,
|
Created,
|
||||||
/// From another client (`voelin_core::identity`).
|
/// From another client (`voelin_core::ts::identity`).
|
||||||
Imported,
|
Imported,
|
||||||
/// Made or chosen as the default by the user.
|
/// Made or chosen as the default by the user.
|
||||||
User,
|
User,
|
||||||
|
|||||||
+1
-1
@@ -32,7 +32,7 @@ from `EncodedVoice` or reads them into `VoicePacket`s (codecs other than Opus
|
|||||||
are dropped there, as the jitter buffer never played them). The audio thread,
|
are dropped there, as the jitter buffer never played them). The audio thread,
|
||||||
the session and the mixer see only the types above, and so does the link's
|
the session and the mixer see only the types above, and so does the link's
|
||||||
seam: `LinkCmd::Audio` carries an `EncodedVoice` out and `LinkEvent::Audio` a
|
seam: `LinkCmd::Audio` carries an `EncodedVoice` out and `LinkEvent::Audio` a
|
||||||
`VoicePacket` in (`voelin-core/src/link.rs`).
|
`VoicePacket` in (`voelin-core/src/link/mod.rs`).
|
||||||
|
|
||||||
## Echo cancellation, noise suppression, gain control
|
## Echo cancellation, noise suppression, gain control
|
||||||
|
|
||||||
|
|||||||
@@ -203,14 +203,14 @@ is not new in TS6. It is the classic client that TS3 already had.
|
|||||||
| Assigning server and channel groups, privilege keys (tokens) | none | |
|
| Assigning server and channel groups, privilege keys (tokens) | none | |
|
||||||
| Permission editor | none | TS6 discusses a simpler "easy view"; start there |
|
| Permission editor | none | TS6 discusses a simpler "easy view"; start there |
|
||||||
| Server edit, "Recent server events" (log), complaints, client database, snapshots (TS6 beta4) | none | For admins; lower priority |
|
| Server edit, "Recent server events" (log), complaints, client database, snapshots (TS6 beta4) | none | For admins; lower priority |
|
||||||
| Whisper lists and whisper hotkeys | incoming whispers only (`out_audio` in `voelin-core/src/voice.rs`: C2S only) | A TS signature feature: team leads whisper to the other leads |
|
| Whisper lists and whisper hotkeys | incoming whispers only (`out_audio` in `voelin-core/src/ts/voice.rs`: C2S only) | A TS signature feature: team leads whisper to the other leads |
|
||||||
| Asking for talk power | none (`client_talk_request` is not modelled) | Moderated channels |
|
| Asking for talk power | none (`client_talk_request` is not modelled) | Moderated channels |
|
||||||
| Channel description (BBCode, pictures) | none (`ChannelInfo` has the topic only) | Shown when a channel is selected |
|
| Channel description (BBCode, pictures) | none (`ChannelInfo` has the topic only) | Shown when a channel is selected |
|
||||||
| Server welcome message and host message in the chat | only stripped, in Home's news | Official clients print them in the Server tab, and host message mode 3 as a dialog |
|
| Server welcome message and host message in the chat | only stripped, in Home's news | Official clients print them in the Server tab, and host message mode 3 as a dialog |
|
||||||
| Notification sounds (sound pack): someone joined or left the channel, poke, message, connection lost, muted | none | Important for a voice app used while gaming: people do not look at the window |
|
| Notification sounds (sound pack): someone joined or left the channel, poke, message, connection lost, muted | none | Important for a voice app used while gaming: people do not look at the window |
|
||||||
| Hotkeys for mute, deafen, away, whisper, switching channel | PTT only | |
|
| Hotkeys for mute, deafen, away, whisper, switching channel | PTT only | |
|
||||||
| Away with a message, auto-away when idle, mute while away | away is only shown | |
|
| Away with a message, auto-away when idle, mute while away | away is only shown | |
|
||||||
| Subscribing to channels one by one | always all channels (`voice.rs:424`) | Costs bandwidth and presence noise on large servers |
|
| Subscribing to channels one by one | always all channels (`voelin-core/src/ts/voice.rs`, right after the connection is made) | Costs bandwidth and presence noise on large servers |
|
||||||
| Bookmark folders, importing the official clients' bookmarks | flat list; no import | TS6 syncs bookmarks through myTeamSpeak |
|
| Bookmark folders, importing the official clients' bookmarks | flat list; no import | TS6 syncs bookmarks through myTeamSpeak |
|
||||||
| Client info: version, platform, connected for, idle for, country flag, badges | partly (country as text) | |
|
| Client info: version, platform, connected for, idle for, country flag, badges | partly (country as text) | |
|
||||||
| A file browser for the channel's files | none (the engine has `ListFiles`, `DeleteFiles`, `RenameFile`, `CreateDirectory`) | Only the UI is missing |
|
| A file browser for the channel's files | none (the engine has `ListFiles`, `DeleteFiles`, `RenameFile`, `CreateDirectory`) | Only the UI is missing |
|
||||||
|
|||||||
+10
-5
@@ -201,9 +201,12 @@ address without a scheme is a TeamSpeak bookmark and gets `ts3server`. A
|
|||||||
local connector for the scheme wins over a plain one; none → `Disconnected`
|
local connector for the scheme wins over a plain one; none → `Disconnected`
|
||||||
with "no connector for {address}" (the text of `Connectors::connect`, but with the address cut at `?` and `#`: the text is shown and logged, and a TeamSpeak link carries a channel password and a pin).
|
with "no connector for {address}" (the text of `Connectors::connect`, but with the address cut at `?` and `#`: the text is shown and logged, and a TeamSpeak link carries a channel password and a pin).
|
||||||
|
|
||||||
`Engine::start` and `start_with` use `Backends::default()`, which registers
|
`Engine::start` and `start_with` use `Backends::default()`, which registers a
|
||||||
`TsConnector` (schemes `ts3server`, `teamspeak`) with the engine's myTeamSpeak
|
`TsConnector` (schemes `ts3server`, `teamspeak`) of its own. The connector owns
|
||||||
watches (4.8). New: `Engine::start_with_backends(settings, history, backends)`.
|
the myTeamSpeak account (4.8: since `a451f02` it holds the senders and has the
|
||||||
|
setters; an application that sets the account registers its connector with
|
||||||
|
`Backends::register_teamspeak`). New:
|
||||||
|
`Engine::start_with_backends(settings, history, backends)`.
|
||||||
`Engine::start_with_link(settings, history, link)` stayed in slices 1 and 2: it
|
`Engine::start_with_link(settings, history, link)` stayed in slices 1 and 2: it
|
||||||
registered a local `LinkConnector` that answers every scheme with a
|
registered a local `LinkConnector` that answers every scheme with a
|
||||||
`LinkSession` over the given link, so the link tests went through the whole
|
`LinkSession` over the given link, so the link tests went through the whole
|
||||||
@@ -874,7 +877,9 @@ Implemented; section 17 says how, what differs from this list, and what ran.
|
|||||||
`voelin_core::ts::{versions, identity}` paths, `QueryLogin`).
|
`voelin_core::ts::{versions, identity}` paths, `QueryLogin`).
|
||||||
- Acceptance:
|
- Acceptance:
|
||||||
- `rg -n 'tsclientlib|tsproto|voelin_query' crates/voelin-core/src --glob
|
- `rg -n 'tsclientlib|tsproto|voelin_query' crates/voelin-core/src --glob
|
||||||
'!ts/**' --glob '!gateway.rs' --glob '!query.rs' --glob '!stream.rs'` is
|
'!**/ts/**' --glob '!gateway.rs' --glob '!query.rs' --glob '!stream.rs'`
|
||||||
|
from the repository root (from `crates/voelin-core/src` the first glob is
|
||||||
|
`'!ts/**'`: a glob is relative to the directory `rg` runs in) is
|
||||||
empty, and the four exceptions use them privately: `gateway.rs` and
|
empty, and the four exceptions use them privately: `gateway.rs` and
|
||||||
`query.rs` are the two observer sources (H5), `stream.rs` is the
|
`query.rs` are the two observer sources (H5), `stream.rs` is the
|
||||||
TeamSpeak 6 stream task behind `StreamPort` (H2, H3);
|
TeamSpeak 6 stream task behind `StreamPort` (H2, H3);
|
||||||
@@ -1172,7 +1177,7 @@ fourth (F4) is an observation.
|
|||||||
| `tests/link_fake.rs` | Trimmed to the three tests that need the inner link: the stream commands (`stream_commands_reach_a_link_with_streams`), the order of a reconnect's shutdown, a replaced connection that keeps talking. Slice 3 made the inner link crate-private and moved the file into the crate (`src/link/fake_link_tests.rs`, 17.1). | 3 |
|
| `tests/link_fake.rs` | Trimmed to the three tests that need the inner link: the stream commands (`stream_commands_reach_a_link_with_streams`), the order of a reconnect's shutdown, a replaced connection that keeps talking. Slice 3 made the inner link crate-private and moved the file into the crate (`src/link/fake_link_tests.rs`, 17.1). | 3 |
|
||||||
| `src/link/fake_tests.rs` | What needs the crate's private parts: our voice as RTP read from `sent_media`, the voice of other slots, our own voice coming back, the conformance suite through `Backends::connect`. | 4 |
|
| `src/link/fake_tests.rs` | What needs the crate's private parts: our voice as RTP read from `sent_media`, the voice of other slots, our own voice coming back, the conformance suite through `Backends::connect`. | 4 |
|
||||||
| `src/link/tests.rs` | One more test: a session made outside an engine keeps its watches open (F2). (Slice 3 replaced it: the connector owns the watches, 17.1.) | 1 |
|
| `src/link/tests.rs` | One more test: a session made outside an engine keeps its watches open (F2). (Slice 3 replaced it: the connector owns the watches, 17.1.) | 1 |
|
||||||
| `src/ts_session/live_tests.rs` | The TeamSpeak `Session` on both development servers (`VOELIN_LIVE=1`): the conformance subset and the session scenarios of 9.3. It raises the servers' anti-flood limits itself before the first connection (16.8). | 12 live, 2 ignored |
|
| `src/ts/ts_session/live_tests.rs` | The TeamSpeak `Session` on both development servers (`VOELIN_LIVE=1`): the conformance subset and the session scenarios of 9.3. It raises the servers' anti-flood limits itself before the first connection (16.8). | 12 live, 2 ignored |
|
||||||
|
|
||||||
`scripts/it-smoke.sh` runs the live module before its engine stage.
|
`scripts/it-smoke.sh` runs the live module before its engine stage.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user