<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div>    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?</div></blockquote><div><br></div>There is a way in the RTSP protocol to do this: specify the intended receiver (PC_b)'s IP address as a </div><div><span class="Apple-tab-span" style="white-space:pre">       </span>destination=<ip-address>;</div><div>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).</div><div><br></div><div>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</div><div>#define RTSP_ALLOW_CLIENT_DESTINATION_SETTING 1</div><div>to the start of "RTSPServer.cpp", and recompile.</div><div><br></div><div>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.)</div><br><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>