Android audio multicast

/
0 Comments

Our Project


Using Android devices communication can be done with 2 or more parties using this application. This project is on developing an android “walkie talkie” app to send voice to other android devices using multicast methods.

How it’s done



This is our design structure. We added five classes. There are shown in the bottom level. Initially the devices you want to communicate should be connected to the same wi-fi network before opening the app. If not the application would not work. All the devices which are in the wifi network and running the app are able to hear and talk.
This is one – to many broadcasting mode.One to one transmitting is simply can be done using above mode.


Record- Records audio and puts it to a queue. Interrupts and waits if pauses.
Play- Plays the audio. Interrupts and waits if pauses.
Client- Receives multicast packets. Resolves and takes to a queue. Makes the stream.
Server- Creates packets to send with the maximum buffer size.Uses multicasts the packets. Uses thread to create and send packets.
AudiocastActivity-Handles the ui Opens new threads for play.java and record.java when buttons are pushed and starts receiving and playing.

Future development.

  •  As the core implementation is successful future development mostly developing the ui class.
  • Developing a Nicer interface.
  • Developing interface such that it works as an actual walkie talkie.      
  • actual walkie talkie enable only one side communication at once. Our implementation is more duplex. By changing the ui it can be achieved.
  • Clearing the audio.





You may also like

No comments :

Powered by Blogger.