<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR-BE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I would like to use openRTSP in a project but I’d like to keep it really simple.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I’d like to start a recording of a mp4 file from a RTSP stream and then stop it whenever I want (not using the -d option to specify a recording duration).
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">For the first part I simply use system() in my code with the correct RTSP options and it works fine: connection to the RTSP stream and recording of file is ok. However, I have to use the -d option, otherwise there is
no way (that I could find?) to properly terminate the streaming and recording. <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Is there a way as simple as a system() call with an appropriate command to terminate the recording?
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">If not, this means that I will have to create a whole project with the libraries and the function of the testRTSPClient.cpp example (no fundamental problem, it’s just that it’ll take longer).
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">For that option, how do I need to include all the files? I work on Qt. I added all the libraries to my project (-lBasicUsageEnvironment, -l groupsock, -lliveMedia, -lUsageEnvironment) but the project doesn’t compile.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Do I need to add the .hh files in BasicUsageEnvironment/include, groupsock/include, etc in the project as well and include them ?
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Any help would be greatly appreciated! <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks a lot in advance,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Kateline <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<title>Email Signature</title>
<div>---</div>
<div class="signature-content">
<table cellpadding="0" cellspacing="0" border="0" style="font-size:12px; font-family: Calibri; line-height: 17px; width:480px' " width="480">
<tbody>
<tr>
<td style="background-color: #4a4a4a; padding:10px; width:240px"><span style="color: #fff; font-size: 15px; font-weight: bold;">Kateline Driessens</span><br>
<span style="color:#fff">Development Engineer</span> </td>
<td align="right" style="width:240px; background-color:#1265b8; padding: 10px; font-size: 30px; font-weight: bold; color: #fff">
MEDATEC</td>
</tr>
<tr>
<td colspan="2" style="width:480px; font-size: 11px; padding: 10px; background-color: #ededed">
<span>Rue Auguste Latour, 110<br>
</span><span>1440 Braine-le-Château, BE <br>
</span><span>Mail: <a href="mailto:kd@medatec.be" target="_blank">kd@medatec.be</a><br>
</span><span>Phone: +32 (0) 2 527 16 93<span> • </span>Fax: +32 (0) 2 527 18 00</span><br>
<span>Website: <a href="https://www.medatec.eu" target="_blank">www.medatec.eu</a><br>
</span><span>Subscribe to our newsletter: <a href="http://eepurl.com/dpK6Vz" target="_blank">
Click Here</a></span> </td>
</tr>
<tr>
<td colspan="2" style="width:480px;padding-top: 5px;"><a><img src="https://www.medatec.eu/images/Banner_Newsletter.jpg" border="0" alt="Banner" width="480" style="width:480px; height:auto; border:0;"></a>
</td>
</tr>
<tr>
<td colspan="2" height="5" style="width:480px; line-height: 5px; font-size: 5px;">
</td>
</tr>
<tr>
<td style="width:480px; padding: 0px; text-align: center;" colspan="2" align="center">
<table style="margin:0 auto; ">
<tbody>
<tr>
<td style="padding-right: 10px;"><a href="https://www.linkedin.com/company/medatec" target="_blank"><img width="40" height="40" alt="LinkedIn" src="https://s1g.s3.amazonaws.com/f874c5a0c5092ecf0a9167f7e246e56f.png"></a>
</td>
<td style="padding-right: 10px;"><a href="https://www.youtube.com/channel/UCtDgFj1UbrxlS39F5R_Z3-w" target="_blank"><img width="40" height="40" alt="Youtube" src="https://s1g.s3.amazonaws.com/7424c5e586bd6247999218163a9536c9.png"></a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td colspan="2" height="5" style="width:480px; line-height: 5px; font-size: 5px;">
</td>
</tr>
<tr>
<td width="480px" style="font-size:8px; font-family:Verdana; color:#959595; line-height: 10px; padding-bottom: 10px;" colspan="2">
<span>This message is confidential. It may contain information that is covered by legal professional privilege, work product immunity or other legal rules. If you have received this communication in error, you must not copy or distribute this message or any
part of it or otherwise disclose its contents to anyone. Please notify us by telephone or return E-mail, and then delete this E-mail and any copies of it from your computer system. Thank you.</span>
</td>
</tr>
<tr>
<td width="480px" style="padding-bottom: 10px;" colspan="2"><span><font color="#009900" face="Webdings" size="4">P</font><font color="#009900" face="verdana,arial,helvetica" size="2">
<strong>Please consider the environment before printing this email</strong></font></span>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>