Solved

DirectShow RTP Source/Render Filters!!

Posted on 2000-04-06
1
3,432 Views
Last Modified: 2008-03-04
Hi All,
I am developping an application that will stream audio from one machine
to another over LAN, i.e. from A to B.

I am using the DirectShow under Win2k.

In filter graph editor i constructed the appropriate sending filter graphs
for A and B as follows:
      Sending Filter Graph at A is composed of:
      1-Audio Capture filter to capture audio from the microphone.
       2-PCM wrapper to convert the data to PCM.
      3-G711 transform filter to encode the PCM data into G711
      4-RTP Send Payload Handler filter.
      5-RTP Render filter with the IP property set to IP address of B
        and Port property set to Port No. of B.

      Receiving Filter Graph At B is composed of:
      1-RTP Source filter with the IP property set to IP address of A
        and Port property set to Port No. of A.
      2-RTP Demux Filter.
      3-RTP Recieve Payload Handler filter.
      4-G711 transform filter to decode the G711 data back into PCM.
      5-Audio Render Filter to render the audio data to the sound card.

Note: If this discussion is not availaible i have the filter graphs in .GRF
format and i can send them.

The problem is when i run the filter graphs on A and B, nothing happens!!
no stream is transferred !!!

Could anyone explain this ??
Thanks alot
0
Comment
Question by:TheMask
1 Comment
 

Accepted Solution

by:
donnerjack earned 150 total points
ID: 2763418
The RTP render filter (at least my version) would not work under graphedt because it needs configuring (IP add. to send to etc.) make sure you've done the configuring necceary. A good way to check yourself is to make a local loop:
1) audio capture ->Audio renderer.
2) insert PCM wrapper & G711 encoder decoder in the middle and check again.
3) insert rtp payload handler.

good luck
donnerjack
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now