I want to design Voice chat in flex builder with the java media server
My app little Describtion :
One of my web applications is design in java. Now I want to add one more feature in my application that is client-to-server, or server-to-client voice chat.
Little description of the scenario:
On client side user attached his microphone and start talking. Now the client send the user voice to the server. On the server side we have some IP Intercoms. Now send the voice that i have got from the client to the intercom.
Voice from client -> server receive the voice -> server send voice to the IP Intercom.
Similarly vice versa.
Voice from IP intercom -> server receive the voice -> server send voice to the client.
Now I think NetStream provide me streaming. But the problem how can I use it with java media server.
Or any suggestion how can I do it? Any sample code.