[Live-devel] Still failed in receiving data via multicast

James Stafford jstafford at ampltd.com
Fri Jun 15 06:08:29 PDT 2012


> It seems that you have misunderstood what I said.
> My stream comes from a IP camera ("TMDXIPCAM8127J3"."DM368"), which 
> can be chosen to send its stream via unicast or multicast. When the 
> stream is send via unicast, all the "testRTSPClient", the "openRTSP", 
> and the VLC Player can receive it.
> But in the case that the stream is send via multicast, the VLC Player 
> still works well, but the "testRTSPClient" and the "openRTSP" both failed.
> So, what I mean is, the VLC player can receive data in both the cases 
> of unicast and multicast, but the "testRTSPClient" and the "openRTSP" 
> can only receive data via unicast.
> I am sure that my question is about multicast, because the monitor of 
> the "wireshark", and the content of the RTSP protocol exchange can 
> prove that, what cause the resulting data files are empty is a 
> multicast stream.

Are testRTSPClient and openRTSP linking against ws2_32.lib or wsock32.lib?
In the past I have had problems with multicast when using ws2_32.lib, 
changing to use wsock32.lib fixed it.
I don't know why and didn't have time to try to work it out either.
This was several years ago so the problem might not exist anymore.

-- 
James Stafford


mailto:jstafford at ampltd.com

Advanced Micro Peripherals Ltd
Unit 1
Harrier House
Sedgeway Business Park
Witchford
Cambridge
CB6 2HY

Fax:+44 1353 659 600 



More information about the live-devel mailing list