DirectShow RTP Source/Render Filters!!
Posted on 2000-04-06
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 ??