<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'>
Hi Ross, <span id="result_box" class="short_text" lang="en"><span class="hps">thank you for</span> <span class="hps">your</span> <span class="hps">response, </span></span><span id="result_box" class="short_text" lang="en"><span class="hps">I</span> <span class="hps">changed</span> <span class="hps">everything</span> <span class="hps">as you</span> <span class="hps">suggested</span></span> <span id="result_box" class="short_text" lang="en"><span class="hps">but still</span> <span class="hps">can not</span> <span class="hps">get</span> <span class="hps">stream from rtsp://xxx.xxx.xxx.xxx:8554/testStream or rstp://xxx.xxx.xxx.xxx:8000/testStream !<br><br></span></span><span id="result_box" class="short_text" lang="en"><span class="hps">Otherwise,</span> <span class="hps">when</span> <span class="hps">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="result_box" class="short_text" lang="en"><span class="hps">I can then</span> <span class="hps">get rtsp://xxx.xxx.xxx.xxx:8554/StreamTest or </span></span><span id="result_box" class="short_text" lang="en"><span class="hps">rtsp://xxx.xxx.xxx.xxx:8000/StreamTest ( </span></span><span id="result_box" lang="en"><span class="hps">I have already</span> <span class="hps">allowed the</span> <span class="hps">ports 8554 and 8000</span> <span class="hps">through the</span> <span class="hps">firewall ).<br><br></span></span><span id="result_box" lang="en"><span class="hps">Please</span> <span class="hps">show me</span> <span class="hps">how to</span> <span class="hps">get the</span> <span class="hps">stream</span> <span class="hps">to work</span> <span class="hps">on the Internet<br>Igor<br></span></span><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">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>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML"><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></body>
</html>