feat: 💄 first gui for streamer
fix: 🚑 oneshot fail in listener socket
This commit is contained in:
parent
c404f5b23f
commit
21d8781188
7 changed files with 67 additions and 16 deletions
|
@ -9,7 +9,7 @@ use tokio_tungstenite::tungstenite::Message;
|
|||
use crate::{Config, BUFFER_LENGTH};
|
||||
const MAX_TOLERATED_MESSAGE_COUNT: usize = 10;
|
||||
|
||||
pub async fn start(sound_stream_consumer: Receiver<f32>, streamer_config:Config) {
|
||||
pub async fn connect(sound_stream_consumer: Receiver<f32>, streamer_config:Config) {
|
||||
let connect_addr =
|
||||
match streamer_config.tls {
|
||||
true => format!("wss://{}", streamer_config.address),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue