feat: ✨ main server as a relay, support for streamer client
This commit is contained in:
parent
e26b0b9fd1
commit
a954dfce73
7 changed files with 188 additions and 126 deletions
|
@ -60,7 +60,7 @@ pub async fn sound_stream(
|
|||
mut producer: Producer<f32, Arc<SharedRb<f32, Vec<MaybeUninit<f32>>>>>,
|
||||
) {
|
||||
log::info!("Attention! We need cables");
|
||||
|
||||
|
||||
while let Some(msg) = stream_consumer.next().await {
|
||||
if is_listening() {
|
||||
let data = String::from_utf8(msg.unwrap().into()).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue