<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite">Thanks for the input and i rellay appreciate your help. If i subclass ServerMediaSubsession than I need to implement other functions too. Is there a another class which will do most for me. I noticed that OnDemandMediaSubsession is being used for some subsession implementation but is it only for unicast or can i use it for multicast too. I am little confused as for what the ondemand media subsession is used.<br></blockquote><div><br></div>Yes, for streaming via unicast, you should subclass "OnDemandServerMediaSubsession", and implement the virtual functions "createNewStreamSource()",  "createNewRTPSink()", and also (because MPEG-4 is a codec that uses special 'configuration' data) "getAuxSDPLine()".  Also, in your subclass's constructor, when it calls the "OnDemandServerMediaSubsession" constructor, be sure to set the "reuseFirstSource" parameter to True (because you're streaming from a live source, rather than from a file).  See also</div><div><span class="Apple-tab-span" style="white-space:pre">     </span><a href="http://www.live555.com/liveMedia/faq.html#liveInput-unicast">http://www.live555.com/liveMedia/faq.html#liveInput-unicast</a></div><div><br></div><div>If instead you want to stream via multicast, then use the "testMPEG4VideoStreamer" code as a model, and see</div><div><span class="Apple-tab-span" style="white-space:pre">     </span><a href="http://www.live555.com/liveMedia/faq.html#liveInput">http://www.live555.com/liveMedia/faq.html#liveInput</a></div><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>