I was testing and tweaking the code given in the Walkie Talkie. It is really good, but I am looking for a way to make it full duplex, what I mean is live audio streaming (voice chat)? It is possible in python and also probably java by multithreading but I wonder if it can be done using B4A, and if so then how and where to start?
AudioStreamer itself is multithreaded. The only reason that it is half duplex is to prevent the speaker output from being captured by the microphone. I'm not sure what is done in full duplex solutions to avoid this (positive feedback loop).
How to define the speaker which is used during "calls" instead of the "music and sound" speaker? If we can define that, I guess it can help in removing the positive feedback loop?
What I mean by calls speaker is:
The speaker that is in the top part of the phone
What I mean by music and sound speaker is:
The speaker at the bottom or at the back of the phone.