I want to develop an application for view a video broadcasted in a local
ethernel using DirectShow but, at the moment, I don't have a clear idea
about how to get the video signal. I tried to check the DireciShow examples
provided with the DirectX SDK and make some search around these newsgroups.
As first test I develop a simple application for play a mpg file in local
hard disk and this work ok. Now I want to play a video signal in broadcast
mode but I didn't udnerstand very well from DirectX documentation how to
get the network video signal. I mean, what DirectX COM interface I have to
use for get the network video signal and what kind of paramts I have to
use? (ip, port and so on?). I'm sorry if my questions appear to be not very
correct but I'm suding how broadcast work and I still don't understand how
DirectX manage this situation. If you can provide me a short example or a
link to some web site explaining better how to resolve my problem I'll be
very grateful to you. :-)
Thank you in advance
Have a look at the DSNetwork sample in the DirectShow SDK (not sure if
it is available in the latest SDK, but it was in the Summer 2005
DirectX9c). This should get you started.
"The DSNetwork sample shows how to multicast an MPEG-2 transport
stream.
It includes two related filters:
- MPEG-2 Multicast Sender: Sends a multicast stream.
- MPEG-2 Multicast Receiver: Receives a multicast stream. "