<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=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 13, 2014, at 3:22 AM, Rachit shah <<a href="mailto:rachit81@gmail.com" class="">rachit81@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class="">We are looking use Live555 streaming media library on Android and Linux Platform.</div></div></div></div></div></blockquote><div><br class=""></div>Do ‘we’ not have our own domain name? :-)</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class="">Product should support unicast as well multicast so in that case which model is better to follow ?<br class=""></div></div></blockquote><div><br class=""></div>I presume (although you haven’t stated explicitly) that you want a server that will deliver the stream via multicast to multicast-reachable clients (i.e., those on the same LAN), and via unicast to other clients.</div><div><br class=""></div><div>To do this, you would create a RTSP server, and add two "ServerMediaSession”s to it: One for multicast delivery; the other for multi-unicast delivery.</div><div><br class=""></div><div>To the first “ServerMediaSession”, you’d add a “PassiveServerMediaSubsession” (for multicast).</div><div>To the second “ServerMediaSession”, you’d add your own “OnDemandServerMediaSubsession” subclass, with the “reuseFirstSource” parameter set to “True”.  (This is explained in the FAQ.)</div><div><br class=""></div><div>You will probably also need to replicate your input stream, feeding one replica to the multicast stream, and the other replica to your “OnDemandServerMediaSubsession” subclass (in your “createNewStreamSource()” implementation).  You can do this using the “StreamReplica” class.</div><br class=""><div apple-content-edited="true" class="">
<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;  "><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;  ">Ross Finlayson<br class="">Live Networks, Inc.<br class=""><a href="http://www.live555.com/" class="">http://www.live555.com/</a></span></span>
</div>
<br class=""></body></html>