[Live-devel] testRTSPClient and MJPEG decoding
Ross Finlayson
finlayson at live555.com
Sun Jul 28 09:30:02 PDT 2013
> I'm able to view the RTSP stream in VLC
OK. One thing that VLC is doing that "testRTSPClient" is not is setting an extremely large receive buffer (in the operating system) for the RTP socket. This may be necessary for you, because you're trying to receive a stream that uses such a ridiculously inefficient codec (i.e., JPEG).
So, try the following:
Add
#include <GroupsockHelper.hh>
to your application, and add the line
increaseReceiveBufferTo(env, scs.subsession->rtpSource()->RTPgs()->socketNum(), 2000000);
to your "continueAfterSETUP()" function.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130728/2cdc90fd/attachment.html>
More information about the live-devel
mailing list