-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Hello @lemunozm,
I think you missed some conversation here #23 so I'm just opening a new issue.
I'm testing https://github.com/libcala/wavy crate to add this function, here is the current state https://github.com/lemunozm/termchat/compare/master...sigmaSd:audio_wavy?expand=1
This works but the major problem is that it currently spins the cpu a lot and slows down the entire program.
Maybe you can take a look at it and see if there is something to improve, or if this is a limitation of message-io maybe? since its flooded by audio message it can't keep the app responsive?
If its the latter case maybe message-io should offer some dedicated channels for huge data like streaming (since its the same problem with video but I guess streaming video sends less data?)