[Live-devel] OnDemand MPEG 2 TS UDP source Relay

GS Net Player gsnetplayer at hotmail.com
Fri Jan 13 03:02:04 PST 2012


When I try to compile I get this:

msvcrt.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referen
ced in function ___tmainCRTStartup
testReplicator.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\link.EXE"' : return code '0x460'
Stop.

how to solve ?

Igor

Date: Fri, 13 Jan 2012 10:09:52 +0100
From: achraf.gazdar at gmail.com
To: live-devel at ns.live555.com
Subject: [Live-devel] OnDemand MPEG 2 TS UDP source Relay

Hi,
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.

To test it please add the following bloc to testOnDemandRTSPServer: 
{
      char const* tvServiceName = "tv";
      char const* inputAddressStr = "0";//unicast UDP source      
      Port const inputPort(1234);

      unsigned char const inputTTL = 0;
      ServerMediaSession* sms
      = ServerMediaSession::createNew(*env, tvServiceName, tvServiceName,
                      descriptionString);
      sms->addSubsession(MPEG2TransportUDPServerMediaSubsession::createNew(*env,

                inputAddressStr,inputPort,inputTTL,
                True));
      rtspServer->addServerMediaSession(sms);
      announceStream(rtspServer, sms,tvServiceName,tvServiceName);
      
  }


The new class is attached to this email.

Thanks.
-- 
Achraf Gazdar
Associate Professor on Computer Science
Hana Research Unit, CRISTAL Lab.
http://www.hanalab.org

Tunisia



_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120113/6cdf3629/attachment-0001.html>


More information about the live-devel mailing list