Hi Ross, thank you for your response, I changed everything as you suggested but 
still can not get stream from rtsp://xxx.xxx.xxx.xxx:8554/testStream or 
rstp://xxx.xxx.xxx.xxx:8000/testStream !

Otherwise, when I put in my code:

{
    char const* streamName = "StreamTest";
    char const* inputFileName = "test.ts";
    char const* indexFileName = "test.tsx";
    ServerMediaSession* sms
      = ServerMediaSession::createNew(*env, streamName, streamName,
                      descriptionString);
    sms->addSubsession(MPEG2TransportFileServerMediaSubsession
               ::createNew(*env, inputFileName, indexFileName, 
reuseFirstSource));
    rtspServer->addServerMediaSession(sms);

    announceStream(rtspServer, sms, streamName, inputFileName);
  }

I can then get rtsp://xxx.xxx.xxx.xxx:8554/StreamTest or 
rtsp://xxx.xxx.xxx.xxx:8000/StreamTest ( I have already allowed the ports 8554 
and 8000 through the firewall ).

Please show me how to get the stream to work on the Internet
Igor
From: finlay...@live555.com
Date: Thu, 12 Jan 2012 06:47:11 -0800
To: live-de...@ns.live555.com
Subject: Re: [Live-devel] RTSP only in Lan - Lan ?!



Can someone tell me why my rtsp code only works in the local network ( Lan - 
Lan )  but not on Windows Server 2008 ( hosting ) ?

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.
(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).)


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/



_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel                            
          
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to