<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<span id="result_box" lang="en"><span class="hps">Please</span> can somebody <span class="hps">show me</span> <span class="hps">how to</span> <span class="hps">switch</span> <span class="hps">from</span> <span class="hps">multicast</span> <span class="hps">to</span> <span class="hps">unicast streaming ?</span></span><br><br>I <span id="result_box" lang="en"><span class="hps">trying</span><span class="hps"> several</span> <span class="hps">weeks to</span> <span class="hps">do</span> <span class="hps">it</span> <span class="hps">but without success</span></span> !<br><br><span id="result_box" class="short_text" lang="en"><span class="hps">Can</span> <span class="hps">someone</span> <span class="hps">help with </span></span><font style="" color="#000000"><b><font style=""><a href="http://www.live555.com/liveMedia/doxygen/html/classOnDemandServerMediaSubsession.html">OnDemandServerMediaSubsession</a></font></b></font><font style="" color="#000000"> </font>to create "<font style="" color="#000000"><b>createNewStreamSource()</b></font>" and "<font style="" color="#000000"><b>createNewRTPSink()</b></font>"<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: gsnetplayer@hotmail.com<br>To: live-devel@ns.live555.com<br>Date: Thu, 12 Jan 2012 17:53:33 +0100<br>Subject: Re: [Live-devel] RTSP only in Lan - Lan ?!<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
<div dir="ltr">
Hi Ross, <span id="ecxresult_box" class="ecxshort_text" lang="en"><span class="ecxhps">thank you for</span> <span class="ecxhps">your</span> <span class="ecxhps">response, </span></span><span id="ecxresult_box" class="ecxshort_text" lang="en"><span class="ecxhps">I</span> <span class="ecxhps">changed</span> <span class="ecxhps">everything</span> <span class="ecxhps">as you</span> <span class="ecxhps">suggested</span></span> <span id="ecxresult_box" class="ecxshort_text" lang="en"><span class="ecxhps">but still</span> <span class="ecxhps">can not</span> <span class="ecxhps">get</span> <span class="ecxhps">stream from rtsp://xxx.xxx.xxx.xxx:8554/testStream or rstp://xxx.xxx.xxx.xxx:8000/testStream !<br><br></span></span><span id="ecxresult_box" class="ecxshort_text" lang="en"><span class="ecxhps">Otherwise,</span> <span class="ecxhps">when</span> <span class="ecxhps">I put in my code:<br><br>{<br> char const* streamName = "StreamTest";<br> char const* inputFileName = "test.ts";<br> char const* indexFileName = "test.tsx";<br> ServerMediaSession* sms<br> = ServerMediaSession::createNew(*env, streamName, streamName,<br> descriptionString);<br> sms->addSubsession(MPEG2TransportFileServerMediaSubsession<br> ::createNew(*env, inputFileName, indexFileName, reuseFirstSource));<br> rtspServer->addServerMediaSession(sms);<br><br> announceStream(rtspServer, sms, streamName, inputFileName);<br> }<br></span></span><br><span id="ecxresult_box" class="ecxshort_text" lang="en"><span class="ecxhps">I can then</span> <span class="ecxhps">get rtsp://xxx.xxx.xxx.xxx:8554/StreamTest or </span></span><span id="ecxresult_box" class="ecxshort_text" lang="en"><span class="ecxhps">rtsp://xxx.xxx.xxx.xxx:8000/StreamTest ( </span></span><span id="ecxresult_box" lang="en"><span class="ecxhps">I have already</span> <span class="ecxhps">allowed the</span> <span class="ecxhps">ports 8554 and 8000</span> <span class="ecxhps">through the</span> <span class="ecxhps">firewall ).<br><br></span></span><span id="ecxresult_box" lang="en"><span class="ecxhps">Please</span> <span class="ecxhps">show me</span> <span class="ecxhps">how to</span> <span class="ecxhps">get the</span> <span class="ecxhps">stream</span> <span class="ecxhps">to work</span> <span class="ecxhps">on the Internet<br>Igor<br></span></span><div><div id="ecxSkyDrivePlaceholder"></div><hr id="ecxstopSpelling">From: finlayson@live555.com<br>Date: Thu, 12 Jan 2012 06:47:11 -0800<br>To: live-devel@ns.live555.com<br>Subject: Re: [Live-devel] RTSP only in Lan - Lan ?!<br><br>
<div><blockquote><span class="ecxApple-style-span" style="border-collapse:separate;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;font-size:medium"><div class="ecxhmmessage" style="font-size:10pt;font-family:Tahoma"><div dir="ltr"><span id="ecxresult_box" lang="en"><span class="ecxhps">Can</span><span class="ecxApple-converted-space"> </span><span class="ecxhps">someone</span><span class="ecxApple-converted-space"> </span><span class="ecxhps">tell</span><span class="ecxApple-converted-space"> </span><span class="ecxhps">me</span><span class="ecxApple-converted-space"> </span><span class="ecxhps">why my</span><span class="ecxApple-converted-space"> </span>rtsp<span class="ecxApple-converted-space"> </span><span class="ecxhps">code</span><span class="ecxApple-converted-space"> </span><span class="ecxhps">only works</span><span class="ecxApple-converted-space"> </span><span class="ecxhps">in the local network ( Lan - Lan ) </span><span class="ecxApple-converted-space"> </span><span class="ecxhps">but not on</span><span class="ecxApple-converted-space"> </span><span class="ecxhps">Windows</span><span class="ecxApple-converted-space"> </span><span class="ecxhps">Server 2008 ( hosting ) ?<br></span></span></div></div></span></blockquote><div><br></div>Probably because you don't have IP multicast routing between the sending computer (that's sending to multicast address 239.255.42.42, port 8888) and the computer that's running your application, and/or between the computer that's running your application (that's sending data to multicast address 239.255.43.43, port 4444) and the receiving computer.</div><div><br></div><div>(Also, because you're not using 'source-specific multicast', you should be setting "isSSM" to "False", not "True". And because "IS_SSM" is not defined, you can remove all of the code from the #if branch of the #ifdef USE_SSM ... #endif code, because the #if branch of that code doesn't get executed (which is just as well, because the "sourceAddressStr" line that you've put there is very wrong).)</div><br><br><div>
<span class="ecxApple-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;font-size:medium"><span class="ecxApple-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;font-size:medium">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a></span></span>
</div>
<br><br>_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel</div> </div>
<br>_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel</div> </div></body>
</html>