Reputation: 3279
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?
Upvotes: 1
Views: 3820
Reputation: 4391
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.
Upvotes: 1