Initial commit: split VNOX monorepo into VNOX-Server
Unified server binary (vnox-serverd) combining: - Gateway (TCP, auth, channels, sessions, SQLite) - Voice-node (UDP relay, Opus, jitter buffer) Standalone gateway (vnox-gateway) and voice-node (vnox-voice-node) preserved as sub-crates.
This commit is contained in:
commit
e751e0bf5b
94 changed files with 9771 additions and 0 deletions
12
voice-node/src/main.rs
Normal file
12
voice-node/src/main.rs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
use anyhow::Result;
|
||||
use vnox_voice_node::{load_config, runner};
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<()> {
|
||||
tracing_subscriber::fmt()
|
||||
.with_env_filter(std::env::var("VNOX_LOG").unwrap_or_else(|_| "info".into()))
|
||||
.init();
|
||||
|
||||
let config = load_config()?;
|
||||
runner::run(config).await
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue