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:jstaff...@ampltd.com

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

Fax:+44 1353 659 600
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to