Re: Chating application which incorporates voice (voip)



On 5 Jan 2007 01:27:43 -0800, deepak wrote:

we have a requirement of developing the chat application which should
have both text based chating as well as voice based, we know
developing a text based chat app is straight,but having voice chat
incorporated ??,hmm .. could any body give me some suggestions, links,
code or throw some insight on this topic, which can help me in
satifying the requirements

If you need to develop your own VOIP system from scratch, there's a lot of
work ahead of you. You'll have to use DirectShow to capture the audio on
one side and render it on the other. There is no .NET version of DirectShow
so you'll have to explore the joys of COM interop (to control the
DirectShow graph) and unmanaged C++ (to write the necessary DirectShow
filters). The DirectShow .NET open source project will help
(<http://sourceforge.net/projects/directshownet/>). Then you'll need to
find a suitable codec to compress and decompress the audio. Speex is a
reasonable option (<http://www.speex.org/>) but there will be some work
(not much) to make it work from within your DirectShow graph. Then comes
the thoughest part: transmiting the audio data over the network. Forget
about .NET remoting, it definitely isn't suited for that. You'll have to
use good ol' sockets and implement some protocol (on top of either UDP or
TCP, you decide), either a standard one such as RTP or your own. And deal
with all the latency, delayed anc lost packets, clock drifts problems...
This excellent book
<http://www.amazon.com/RTP-Video-Internet-Colin-Perkins/dp/0672322498> will
give you an overview of what RTP is and of the challenges of developping a
real-time audio/video solution in general (that applies to audio only as
well of course). Also, check out Microsoft's open source Conference XP
project <http://research.microsoft.com/conferencexp/>

Or, as James suggested, see if there isn't a way to use a third party tool
that you can integrate within your app. James mentionned skype. I
personally have used Flash Communication Server (now renamed media server i
think) to add a video conferencing feature to my C# application before
rolling out my own. It worked but was very expensive and clunky both from
the developers and the end user point of view.
.



Relevant Pages

  • RE: Green Screen/ Full Screen Issue
    ... DirectShow Filters ... Indeo® video 5.10 Decompression ... MainConcept MPEG Audio ... Realtek HD Front Green Jack,0x00200000,1,1,,5.03.2600.2180 ...
    (microsoft.public.windowsmedia)
  • Re: 5.1 Surround Sound with WMVHD files
    ... What method to you think MediaPlayer is using to play the audio? ... to set 5.1 and then let my video ... DirectShow call to enable discrete output that I'm missing? ... If you are referring to the AudioPlayer sample in the Windows Media SDK it ...
    (microsoft.public.windowsmedia.sdk)
  • Re: 5.1 Surround Sound with WMVHD files
    ... What method to you think MediaPlayer is using to play the audio? ... to set 5.1 and then let my video ... DirectShow call to enable discrete output that I'm missing? ... If you are referring to the AudioPlayer sample in the Windows Media SDK it ...
    (microsoft.public.windowsmedia.sdk)
  • Re: Can I use User Mode Driver FW (UMDF) for Audio MIC
    ... COM port driver and I get a COM port. ... Button, Audio, ...) over the COM port. ... Is this possible with DirectShow? ... but the problem is that a DirectShow Audio Capture Device depends on ...
    (microsoft.public.development.device.drivers)
  • Re: Microsoft game; Age of Empires II...
    ... DirectShow Filters ... MainConcept DV Video ... MainConcept MPEG Audio ... SB Audigy DirectMusic Synthesizer,0x00200000,1,1,,5.03.2600.2180 ...
    (microsoft.public.windowsxp.games)