<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Ross,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks for the reply,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">i can not use another application for registration, because for that we need to have separate stream which we dont have, actually our requirement is, server should able to stream to WAN as well as if request is coming from local network then also server should able to serve them .</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">for an example, if two user are streaming over local network , and third will request from WAN then same stream should go via REGISTER request to proxy and local should continuing on that.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thank you,</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#0000ff"><br></font></div><div><b><font color="#0b5394">With Warm Regards,</font></b></div><div><font color="#0b5394">Hardik Sangani</font></div><div><font color="#0b5394">VVDN Technologies Pvt Ltd</font></div><div><font color="#0b5394"><b>Cell : </b>+91 9176120633<b> | Skype : hardikjsangani</b></font></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, May 8, 2015 at 5:52 PM, Ross Finlayson <span dir="ltr"><<a href="mailto:finlayson@live555.com" target="_blank">finlayson@live555.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span class=""><div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_default" style="font-size:small">My requirement is to create RTSPServer which can register to remote proxy server and stream , as well as it can able to stream for local client also (normal behavior) at the same time.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I tried to look into the examples code, but i am not able to discover how to and where to add RTSPServer::registerstream  to achieve this, i have tried couple of times but i failed in that.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Can i get any documentary or any example how i can integrate both in one RTSPServer  instance ?</div></div></div></blockquote><div><br></div></div></span>The only ‘documentation’ for the “RTSPServer::registerStream()” member function is the (copious) comments where this function is defined (in “include/RTSPServer.hh”).  It’s pretty much self-explanatory; you can call this member function anywhere, once you have the “ServerMediaSession” object for the stream that you wish to register.<div><br></div><div>Alternatively, you can register the stream from outside the RTSP server - e.g., by using the “registerRTSPStream” utility (a command-line application) - which is included as a demonstration application in the “testProgs” directory.</div><div><br></div><div>Of course, the remote proxy server will need to have been set up to accept incoming “REGISTER” requests - i.e., by having given it the “-R” option on the command line.</div><span class="HOEnZb"><font color="#888888"><br><div>
<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;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><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;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a></span></span>
</div>
<br></font></span></div><br>_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
<br></blockquote></div><br></div>