feat: ✨ talk and listen on client side
This commit is contained in:
parent
1567a9c32a
commit
1e9808579a
11 changed files with 388 additions and 79 deletions
|
@ -3,6 +3,16 @@ pub mod stream;
|
|||
pub mod voice;
|
||||
|
||||
#[derive(Debug)]
|
||||
struct ClientConfig {
|
||||
pub struct ClientConfig {
|
||||
certificate_path: String,
|
||||
server_address: String,
|
||||
}
|
||||
|
||||
impl ClientConfig {
|
||||
fn new() -> Self {
|
||||
Self {
|
||||
certificate_path: "./client/certificates/cert.pem".to_string(),
|
||||
server_address: "localhost:4546".to_string(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue