<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" class="short_text" lang="en"><span class="hps">When</span> <span class="hps">I try</span> <span class="hps">to compile I get this:<br><br>msvcrt.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referen<br>ced in function ___tmainCRTStartup<br>testReplicator.exe : fatal error LNK1120: 1 unresolved externals<br>NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN<br>\link.EXE"' : return code '0x460'<br>Stop.<br><br></span></span><span id="result_box" class="short_text" lang="en"><span class="hps">how</span> <span class="hps">to</span> <span class="hps">solve ?<br><br>Igor<br></span></span><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Fri, 13 Jan 2012 10:09:52 +0100<br>From: achraf.gazdar@gmail.com<br>To: live-devel@ns.live555.com<br>Subject: [Live-devel] OnDemand MPEG 2 TS UDP source Relay<br><br><div dir="ltr">Hi,<br>I have Implemented a new class called "MPEG2TransportUDPServerMediaSubsession" that handles on demand relaying of a Basic UDP source transporting MPEG2 TS Video to any client requesting it through rtsp.<br>
To test it please add the following bloc to testOnDemandRTSPServer: <br>{<br> char const* tvServiceName = "tv";<br> char const* inputAddressStr = "0";//unicast UDP source <br> Port const inputPort(1234);<br>
unsigned char const inputTTL = 0;<br> ServerMediaSession* sms<br> = ServerMediaSession::createNew(*env, tvServiceName, tvServiceName,<br> descriptionString);<br> sms->addSubsession(MPEG2TransportUDPServerMediaSubsession::createNew(*env,<br>
inputAddressStr,inputPort,inputTTL,<br> True));<br> rtspServer->addServerMediaSession(sms);<br> announceStream(rtspServer, sms,tvServiceName,tvServiceName);<br> <br> }<br>
<br>The new class is attached to this email.<br><br>Thanks.<br>-- <br>Achraf Gazdar<br>Associate Professor on Computer Science<br>Hana Research Unit, CRISTAL Lab.<br><a href="http://www.hanalab.org" target="_blank">http://www.hanalab.org</a><br>
Tunisia<br>
</div>
<br>_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel</div> </div></body>
</html>