Search code examples
androidsocketsvoipserversocket

How to establish a client to client Voice Call over socket in android


I am planning to add a direct serverless point to point voice transfer ability to my application, from my thoughts each client needs a server socket(?) and client socket(?) to establish connection on demand, rest must be same like writing voice to file but instead writing to (socket?) on tcp . but since its a quite long shot, I need some more help about it, like can 2 sockets send and receive on the same time? Or more importantly can socket keep reading and update the output at the time? Or is there any better way? any suggestions?


Solution

  • https://github.com/DeanThomson/android-udp-audio-chat

    I think this is exactly you required