[Live-devel] about rtsp client.

Ross Finlayson finlayson at live555.com
Thu Sep 13 13:16:25 PDT 2012


>     I use live555 as server, I want to create a RTSP client on one PC(PC_a),and receive the RTP/RTCP data on another(PC_b).How  can I do?

There is a way in the RTSP protocol to do this: specify the intended receiver (PC_b)'s IP address as a 
	destination=<ip-address>;
parameter in a "Transport:" header in the RTSP "SETUP" request.  However, our RTSP client implementation *does not* support this (nor are there any plans to do so).

Our RTSP server implementation, however, does support this, but not by default.  To enable this support in our RTSP server, you'll need to add
#define RTSP_ALLOW_CLIENT_DESTINATION_SETTING 1
to the start of "RTSPServer.cpp", and recompile.

You should be warned, however, that this is a security risk; it allows your server to be used for 'denial of server' attacks.  (This is why this mechanism is not supported by default in our RTSP server implementation, and not supported at all in our RTSP client implementation.)


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/20120913/192abb6f/attachment.html>


More information about the live-devel mailing list