Need direction in creating a voice chat application

徘徊边缘 提交于 2019-12-12 04:45:01

问题


I want to create a voice chat application as a part of a project. However, i am totally lacking direction regarding the programming language to use, the technologies involved.

Can somebody please guide me as to how i should proceed ?

Here are the features that i require :

  • user to user voice chat
  • ability to chat in conference (more than 2 users)

How do i connect one user to another ? How to handle voice transmission ? How to effectively route packets in a conference ?

I'm thinking the most probably langauge to develop this in would be Flash. Any suggestions are welcome.


回答1:


There are a few things to research:

  • APIs for this were added to AIR 2.0 ( http://cookbooks.adobe.com/post_SimpleAudioRecorder___Microphone_Access_API_AIR_2_-16746.html ). I believe you can combine them with socket classes for Peer to Peer communication to create a Skype like chat app.
  • Look into a tool like Ribbit ( http://developer.ribbit.com/ )
  • Look into using a server side software to handle audio. Red5 is a popular open source one. ( http://red5.org/ ). Flash Media Server is an Adobe Option ( http://www.adobe.com/products/flashmediaserver/ )



回答2:


To get a good video chat, you should use UDP P2P communication. There is only few solutions ready for that, but Adobe Stratus 2 is one.



来源:https://stackoverflow.com/questions/2852430/need-direction-in-creating-a-voice-chat-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!