<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello Stéphane,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
That seems to be what I need, I will give it a try and get back to you later. Thank you very much!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
In the meantime I am also having troubles with the srtsink, and maybe you can help me. I think that there's a bug in the srtsink element, as it should not be writing to the buffer if there's no session established (in SRT the buffer timestamps are attributed
 according to the session "timestamp").</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
So for example, if I have a pipeline like this:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: left; background-color: rgb(255, 255, 255); display: inline !important;">gst-launch-1.0 videotestsrc ! videoconvert ! x265enc tune=zerolatency
 ! queue ! h265parse config-interval=-1 ! mpegtsmux alignment=7 latency=0 ! srtsink uri="srt://127.0.0.1:7000?mode=caller" latency=125 wait-for-connection=false async=false</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: left; background-color: rgb(255, 255, 255); display: inline !important;">and there's no srtsrc active, this pipeline will crash because it's
 trying to write to the buffer without establishing the session.</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: left; background-color: rgb(255, 255, 255); display: inline !important;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: left; background-color: rgb(255, 255, 255); display: inline !important;">In my opinion, the element should discard the buffers until it establishes
 a connection.</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: left; background-color: rgb(255, 255, 255); display: inline !important;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: left; background-color: rgb(255, 255, 255); display: inline !important;">Do you know if someone has addressed this issue?</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: left; background-color: rgb(255, 255, 255); display: inline !important;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: left; background-color: rgb(255, 255, 255); display: inline !important;">Thanks in advance.</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: left; background-color: rgb(255, 255, 255); display: inline !important;">Regards,
<div>Miguel</div>
</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> gstreamer-devel <gstreamer-devel-bounces@lists.freedesktop.org> on behalf of scerveau via gstreamer-devel <gstreamer-devel@lists.freedesktop.org><br>
<b>Sent:</b> Monday, May 16, 2022 4:40 PM<br>
<b>To:</b> Miguel Leão via gstreamer-devel <gstreamer-devel@lists.freedesktop.org><br>
<b>Cc:</b> scerveau <scerveau@gmail.com><br>
<b>Subject:</b> Re: SRT persistency</font>
<div> </div>
</div>
<div>
<p>Hello Miguel,</p>
<p><br>
</p>
<p>There is a pending merge request about this topic. <br>
</p>
<p><br>
</p>
<p><a class="x_moz-txt-link-freetext" href="https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/967">https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/967</a></p>
<p><br>
</p>
<p>You can give it a try and let know if this is addressing your issue.</p>
<p><br>
</p>
<p>Regards.</p>
<p><br>
</p>
<p>Stéphane.</p>
<p><br>
</p>
<div class="x_moz-cite-prefix">On 5/2/22 16:33, Miguel Leão via gstreamer-devel wrote:<br>
</div>
<blockquote type="cite"><style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hello,</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I am developing SRT pipelines, and I want to be able to stop the signal that is being sent to the pipeline and restart it. The problem is, when the signal is turned off the srtsink sends an EOS signal to the pipeline shutting it down. Is there any way to circumvent
 this or is this behaviour standard?</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thanks in advance,</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Miguel</div>
</blockquote>
</div>
</body>
</html>