简体   繁体   中英

Implementing voice chat in ASP.NET

I'm creating a small web chat application using ASP.NET, text chat is almost done using Ajax,SQL Server but now I'm going to create a voice system also. I've googled a lot but with no real luck, what are my options? Silverlight? VoIP? or something else? I've worked a lot with SL, is it my only way of implementing voice chat in web? can I use pure ASP.NET to have voice chat? how can I use TCP/IP for voice communication? is there any online sample showing voice chat or communication?

You can use assembly for voice chat should you want to, but it's very hard. I can't give a good answer without knowing how well you know ASP.NET/C#, but VoIP isn't hard to implement Normally .

Basically, you need a codec on each end, and a protocol to transfer packets - encoded obviously - from one end to the other (Mostly UDP).

Now, When I say Normally I mean in a perfect world where network issues - mostly related to NAT - don't exist.

Also you will need something other than ASP.NET, Like a plugin (Silverlight should do, but something mainstream like flash or java are recommended) to get a bit more control of the client's PC (Microphone, speakers).

I quite doubt you can do this alone, no offence. Therefore I would recommend using a library like SIP Communicator, Here's a Tutorial and Another .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM