A DTLS 1.2 server in dimpl picks AES-256-GCM whenever the client offers it, and there is no setting. Our str0m peers are the DTLS server for official TeamSpeak 6 viewers, which offer all profiles, so our streams used GCM while official streams use AES_CM_128_HMAC_SHA1_80. ConfigBuilder::srtp_profiles sets the profiles in order of preference: the server picks the first of them the client offered, clients offer them in that order and reject a server that picks another. Unset, everything is as upstream. VOELIN-PATCH.md describes the patch and how to drop it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
98 lines
2.6 KiB
TOML
98 lines
2.6 KiB
TOML
[workspace]
|
|
resolver = "3"
|
|
# third_party: vendored crates patched in below (not workspace members, so
|
|
# their own tests and dev-dependencies stay out of our builds).
|
|
exclude = ["fuzz", "third_party"]
|
|
members = [
|
|
"crates/proto/tsproto-types",
|
|
"crates/proto/tsproto-structs",
|
|
"crates/proto/tsproto-packets",
|
|
"crates/proto/tsproto",
|
|
"crates/proto/ts-bookkeeping",
|
|
"crates/proto/tsclientlib",
|
|
"crates/voelin-android",
|
|
"crates/voelin-audio",
|
|
"crates/voelin-core",
|
|
"crates/voelin-gateway",
|
|
"crates/voelin-gateway-proto",
|
|
"crates/voelin-media",
|
|
"crates/voelin-model",
|
|
"crates/voelin-observer",
|
|
"crates/voelin-platform",
|
|
"crates/voelin-query",
|
|
"crates/voelin-store",
|
|
"crates/voelin-stream",
|
|
"crates/voelin-ui",
|
|
"tools/voelinctl",
|
|
]
|
|
default-members = [
|
|
"crates/proto/tsproto-types",
|
|
"crates/proto/tsproto-structs",
|
|
"crates/proto/tsproto-packets",
|
|
"crates/proto/tsproto",
|
|
"crates/proto/ts-bookkeeping",
|
|
"crates/proto/tsclientlib",
|
|
"crates/voelin-audio",
|
|
"crates/voelin-core",
|
|
"crates/voelin-gateway",
|
|
"crates/voelin-gateway-proto",
|
|
"crates/voelin-model",
|
|
"crates/voelin-observer",
|
|
"crates/voelin-platform",
|
|
"crates/voelin-query",
|
|
"crates/voelin-store",
|
|
"crates/voelin-stream",
|
|
"crates/voelin-ui",
|
|
"tools/voelinctl",
|
|
]
|
|
|
|
[workspace.package]
|
|
edition = "2024"
|
|
rust-version = "1.94"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/Faumaray/Voelin"
|
|
publish = false
|
|
|
|
[workspace.lints.rust]
|
|
# deny, not forbid: generated code (Slint) needs a local allow.
|
|
unsafe_code = "deny"
|
|
|
|
[workspace.lints.clippy]
|
|
all = { level = "warn", priority = -1 }
|
|
|
|
[profile.dev.package.num-bigint]
|
|
# The Init1 puzzle does a large modular exponentiation on connect; unoptimized
|
|
# it takes seconds.
|
|
opt-level = 3
|
|
|
|
# Audio processing (echo cancellation, noise suppression) runs in real time on
|
|
# every 10 ms of microphone audio; unoptimized it needs about a third of a core.
|
|
[profile.dev.package.sonora]
|
|
opt-level = 3
|
|
[profile.dev.package.sonora-aec3]
|
|
opt-level = 3
|
|
[profile.dev.package.sonora-agc2]
|
|
opt-level = 3
|
|
[profile.dev.package.sonora-common-audio]
|
|
opt-level = 3
|
|
[profile.dev.package.sonora-fft]
|
|
opt-level = 3
|
|
[profile.dev.package.sonora-ns]
|
|
opt-level = 3
|
|
[profile.dev.package.sonora-simd]
|
|
opt-level = 3
|
|
|
|
[profile.dev]
|
|
# Line tables (for backtraces) for workspace crates, no debug info for
|
|
# dependencies: keeps target/ several times smaller. Override locally for
|
|
# debugging with CARGO_PROFILE_DEV_DEBUG=true.
|
|
debug = "line-tables-only"
|
|
|
|
[profile.dev.package."*"]
|
|
debug = false
|
|
|
|
# dimpl (DTLS for str0m) with a configurable SRTP profile order; see
|
|
# third_party/dimpl/VOELIN-PATCH.md.
|
|
[patch.crates-io]
|
|
dimpl = { path = "third_party/dimpl" }
|