<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<small>Hi,<br>
<br>
we have developed a RTSP video streaming server using Live555
(version 07/2011). <br>
With the same verison of Live lib we have also implemented a RTSP
Client to show the stream. We use this client without any problem
to acquire stream from different cameras.<br>
The problem is that with when I connect this Client to the
developed streaming server (in unicast mode) the connection close
after sime time (around 1 hour).<br>
The Client perform a keepalive every 30 seconds calling a
sendOptionCmd().<br>
<br>
I tried to work (on thye server side) on the
reclamationTestSeconds parameters. I set it to 0 and the problem
still remains.<br>
<br>
Here there is the c++ code that I used on the streaming server
side:<br>
<br>
<br>
TaskScheduler* scheduler =
BasicTaskScheduler::createNew();<br>
m_pEnvironment =
BasicUsageEnvironment::createNew(*scheduler);<br>
<br>
UserAuthenticationDatabase* authDB = NULL;<br>
<br>
RTSPServer* rtspServer =
RTSPServer::createNew(*m_pEnvironment, params.m_iServerPort,
authDB, 45);<br>
if (rtspServer == NULL)<br>
{<br>
*m_pEnvironment << "Failed to create
RTSP server: " << m_pEnvironment->getResultMsg() <<
"\n";<br>
return;<br>
}<br>
ServerMediaSession* sms =
ServerMediaSession::createNew(*m_pEnvironment,
params.m_sStreamName.c_str(), "", "Session streamed by
streamer", True /*SSM*/);<br>
<br>
sms->addSubsession(serverMediaSubsession::createNew(*m_pEnvironment,
true, params, this));<br>
rtspServer->addServerMediaSession(sms);<br>
<br>
char* url = rtspServer->rtspURL(sms);<br>
*m_pEnvironment << "Play this stream
using the URL \"" << url << "\"\n";<br>
delete[] url;<br>
<br>
// Start the streaming:<br>
*m_pEnvironment << "Beginning
streaming...\n";<br>
m_initSemaphore.post();<br>
m_pEnvironment->taskScheduler().doEventLoop(); <br>
</small><br>
<small>Do you have any idea how to solve this problem?<br>
Thank you very much in advance for your help.<br>
<br>
Best regards,<br>
</small>
<pre class="moz-signature" cols="72">--
Andrea Beoldo
Project Manager/R&D
Technoaware Srl
Corso Buenos Aires 18/11, 16129 Genova (GE)
Ph. +39 010 5539239 Fax. +39 0105539240
Email: <a class="moz-txt-link-abbreviated" href="mailto:andrea.beoldo@technoaware.com">andrea.beoldo@technoaware.com</a>
Web: <a class="moz-txt-link-abbreviated" href="http://www.technoaware.com">www.technoaware.com</a>
------------------------------------------------------------------------
*Privacy*
Le informazioni contenute in questo messaggio sono riservate e confidenziali. Il loro utilizzo č consentito esclusivamente al destinatario del messaggio, per le finalitā indicate nel messaggio stesso. Qualora Lei non fosse la persona a cui il presente messaggio č destinato, La invitiamo ad eliminarlo dal Suo sistema ed a distruggere le varie copie o stampe, dandocene gentilmente comunicazione. Ogni utilizzo improprio č contrario ai principi del D.lgs 196/03 e alla legislazione europea (Direttiva 2002/58/CE). TechnoAware opera in conformitā al D.lgs 196/2003 e alla legislazione europea.
The information contained in this message as well as the attached file(s)is confidential/privileged and is only intended for the person to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this communication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited and can be illegal. Please notify us immediately and delete all copies from your mailbox and other archives. Thank you.</pre>
</body>
</html>