2025-05-14 23:43:35 +03:00
|
|
|
pub mod gui;
|
|
|
|
pub mod stream;
|
|
|
|
pub mod voice;
|
|
|
|
|
|
|
|
#[derive(Debug)]
|
2025-05-15 23:19:39 +03:00
|
|
|
pub struct ClientConfig {
|
|
|
|
certificate_path: String,
|
2025-05-14 23:43:35 +03:00
|
|
|
server_address: String,
|
|
|
|
}
|
2025-05-15 23:19:39 +03:00
|
|
|
|
|
|
|
impl ClientConfig {
|
|
|
|
fn new() -> Self {
|
|
|
|
Self {
|
|
|
|
certificate_path: "./client/certificates/cert.pem".to_string(),
|
|
|
|
server_address: "localhost:4546".to_string(),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|