<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="">I have been studying live555 recently. And now I
have a question. I would like to use a RTSP client to actively push a
video file to RTSP server whose IP is known. How should I use the
live555?</div></blockquote><div><br class=""></div></div><div class="">No, we don’t support that model of communication (‘pushing’ media to a server), because it’s excessively complex, and non-standard. Instead, we support a (much simpler) model whereby a RTSP server can act as a ‘proxy’ for another RTSP stream. In fact, we have an ‘off the shelf’ proxy server application:</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span><a href="http://live555.com/proxyServer/" class="">http://live555.com/proxyServer/</a></div><div class="">that you can use.</div><div class=""><br class=""></div><div class="">In your case, you would want your media source to have a build-in RTSP server, which you could access via a proxy server (or directly from RTSP client(s)). You can do this using the “testOnDemandRTSPServer” demo application as a model; see</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span><a href="http://live555.com/liveMedia/faq.html#liveInput-unicast" class="">http://live555.com/liveMedia/faq.html#liveInput-unicast</a></div><div class=""><br class=""></div><div class="">You will need to write your own subclass of “OnDemandServerMediaSubsession” (one for each kind of media - audio and video - that you’re streaming), as noted in the FAQ entry linked to above.</div><br class=""><div apple-content-edited="true" class=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">Ross Finlayson<br class="">Live Networks, Inc.<br class=""><a href="http://www.live555.com/" class="">http://www.live555.com/</a></span></div><div apple-content-edited="true" class=""><br class=""></div></body></html>