Android Code Snippet [B4X] Audio Streaming TCP (with server)

Based on this @Erel code that simulated a Walkie Talkie, I developed a system for streaming audio between Android and Desktop devices with the addition of a Desktop server.

I chose to create a separate server in order to make it easier to connect with multiple devices.

You can find the version that uses the UDP protocol in this link

Note: The B4J version requires the Audiolorecord library. The B4A requires the Audio library. The B4a version works better if you have headphones (avoid the return of audio) or turn off listening when you speak and vice versa ...


  • b4a tcp
    13.9 KB · Views: 694
    3.2 KB · Views: 681
  • b4j tcp Audio
    7.4 KB · Views: 569
Last edited:


Active Member
Licensed User
Longtime User
And next... Audio & Video...
And ... With Stun/Turn Server...
Is just my Dream :)


Licensed User
But not as one Stream šŸ˜
I believe so, but maybe I'm not understanding what you mean. Open a new forum topic specifying what you would like specifically