<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p style="box-sizing: border-box; margin-bottom: 16px; margin-top:
0px !important;">I'm proxying a RTSP stream with live555 proxy
server. Then I have 2 sessions active one with VLC and other one
with OpenRTSP:</p>
<ul style="box-sizing: border-box; margin-bottom: 16px; margin-top:
0px; padding-left: 2em;">
<li style="box-sizing: border-box; margin-left: 0px;">openRTSP -v
-V <a class="moz-txt-link-freetext"
href="rtsp://192.168.0.101:8554/proxyStream">rtsp://192.168.0.101:8554/proxyStream</a></li>
<li style="box-sizing: border-box; margin-top: 0.25em;
margin-left: 0px;">vlc --extraintf=<a
class="moz-txt-link-freetext" href="http:logger">http:logger</a>
--verbose=5 --file-logging --logfile=vlc-log.txt <a
class="moz-txt-link-freetext"
href="rtsp://192.168.0.101:8554/proxyStream">rtsp://192.168.0.101:8554/proxyStream</a></li>
</ul>
<p style="box-sizing: border-box; margin-bottom: 16px; margin-top:
0px;">Please notice that openRTSP play is only video without
audio.</p>
<p style="box-sizing: border-box; margin-bottom: 16px; margin-top:
0px;">After a couple of seconds, I stop the VLC stream, a TEARDOWN
command is sent, and the openRTSP is automatically stopped as
well.</p>
<p style="box-sizing: border-box; margin-bottom: 16px; margin-top:
0px;">I added a couple of logs to the source code and seems it is
not re-using the session but it is creating a new session. So when
the VLC stream send a TEARDOWN, then the proxyserver sends a PAUSE
command.</p>
<p style="box-sizing: border-box; margin-bottom: 16px; margin-top:
0px;">This same scenario occurs with Janus and a webrtc channel
that consumes only a video channel from the live555 proxy-server.</p>
<p style="box-sizing: border-box; margin-bottom: 16px; margin-top:
0px;">It is my understanding that the problem is a new source
stream is being created if no audio channel is consumed instead of
re-using.</p>
<p style="box-sizing: border-box; margin-bottom: 16px; margin-top:
0px;">Researching I found this thread:<br style="box-sizing:
border-box;">
<a rel="nofollow"
href="https://live-devel.live555.narkive.com/qGf6LfB7/proxyserver-subsession-teardown"
style="box-sizing: border-box; background-color: transparent;
color: var(--color-text-link); text-decoration: none;">https://live-devel.live555.narkive.com/qGf6LfB7/proxyserver-subsession-teardown</a></p>
<p> It mentions a fix being included, was that patch included in
this repo</p>
<p><br>
</p>
<div class="moz-signature">-- <br>
<table class="sc-gPEVay eQYmiW" style="vertical-align:
-webkit-baseline-middle; font-size: medium; font-family: Arial;"
cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<table class="sc-gPEVay eQYmiW" style="vertical-align:
-webkit-baseline-middle; font-size: medium; font-family:
Arial;" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="vertical-align: middle;">
<h3 color="#000000" class="sc-fBuWsC eeihxG"
style="margin: 0px; font-size: 18px; color:
rgb(0, 0, 0);"> <span>José María</span> <span> </span>
<span>Infanzon</span> </h3>
<p color="#000000" font-size="medium"
class="sc-fMiknA bxZCMx" style="margin: 0px;
color: rgb(0, 0, 0); font-size: 14px;
line-height: 22px;"> <span>CTO</span> </p>
<p color="#000000" font-size="medium"
class="sc-dVhcbM fghLuF" style="margin: 0px;
font-weight: 500; color: rgb(0, 0, 0);
font-size: 14px; line-height: 22px;"> <span>Digital
Motus</span> </p>
</td>
<td width="30"> <br>
</td>
<td color="#54a7f2" direction="vertical"
class="sc-jhAzac hmXDXQ" style="width: 1px;
border-bottom: none; border-left: 1px solid
rgb(84, 167, 242);" width="1"><br>
</td>
<td width="30"> <br>
</td>
<td style="vertical-align: middle;">
<table class="sc-gPEVay eQYmiW"
style="vertical-align: -webkit-baseline-middle;
font-size: medium; font-family: Arial;"
cellspacing="0" cellpadding="0">
<tbody>
<tr style="vertical-align: middle;"
height="25">
<td style="vertical-align: middle;"
width="30">
<table class="sc-gPEVay eQYmiW"
style="vertical-align:
-webkit-baseline-middle; font-size:
medium; font-family: Arial;"
cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="vertical-align: bottom;">
<span color="#54a7f2" width="11"
class="sc-jlyJG bbyJzT"
style="display: block;
background-color: rgb(84, 167,
242);"> <img
src="https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/phone-icon-2x.png"
color="#54a7f2"
class="sc-iRbamj blSEcj"
style="display: block;
background-color: rgb(84, 167,
242);" width="13"> </span> </td>
</tr>
</tbody>
</table>
</td>
<td style="padding: 0px; color: rgb(0, 0,
0);"> <a href="tel:+54-9-351-6618704"
color="#000000" class="sc-gipzik iyhjGb"
style="text-decoration: none; color:
rgb(0, 0, 0); font-size: 12px;"> <span>+54-9-351-6618704</span>
</a> </td>
</tr>
<tr style="vertical-align: middle;"
height="25">
<td style="vertical-align: middle;"
width="30">
<table class="sc-gPEVay eQYmiW"
style="vertical-align:
-webkit-baseline-middle; font-size:
medium; font-family: Arial;"
cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="vertical-align: bottom;">
<span color="#54a7f2" width="11"
class="sc-jlyJG bbyJzT"
style="display: block;
background-color: rgb(84, 167,
242);"> <img
src="https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/email-icon-2x.png"
color="#54a7f2"
class="sc-iRbamj blSEcj"
style="display: block;
background-color: rgb(84, 167,
242);" width="13"> </span> </td>
</tr>
</tbody>
</table>
</td>
<td style="padding: 0px;"> <a
href="mailto:jose.infanzon@digitalmotus.io"
color="#000000" class="sc-gipzik iyhjGb"
style="text-decoration: none; color:
rgb(0, 0, 0); font-size: 12px;"> <span>jose.infanzon@digitalmotus.io</span>
</a> </td>
</tr>
<tr style="vertical-align: middle;"
height="25">
<td style="vertical-align: middle;"
width="30">
<table class="sc-gPEVay eQYmiW"
style="vertical-align:
-webkit-baseline-middle; font-size:
medium; font-family: Arial;"
cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="vertical-align: bottom;">
<span color="#54a7f2" width="11"
class="sc-jlyJG bbyJzT"
style="display: block;
background-color: rgb(84, 167,
242);"> <img
src="https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/link-icon-2x.png"
color="#54a7f2"
class="sc-iRbamj blSEcj"
style="display: block;
background-color: rgb(84, 167,
242);" width="13"> </span> </td>
</tr>
</tbody>
</table>
</td>
<td style="padding: 0px;"> <a
href="//www.digitalmotus.io"
color="#000000" class="sc-gipzik iyhjGb"
style="text-decoration: none; color:
rgb(0, 0, 0); font-size: 12px;"> <span>www.digitalmotus.io</span>
</a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="sc-gPEVay eQYmiW" style="vertical-align:
-webkit-baseline-middle; font-size: medium; font-family:
Arial; width: 100%;" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="vertical-align: top;"> <img
src="https://i.ibb.co/QnZmNjz/dm.png"
role="presentation" class="sc-cHGsZl bHiaRe"
style="max-width: 130px; display: inline-block;"
width="130"> </td>
<td style="text-align: right; vertical-align: top;">
<table class="sc-gPEVay eQYmiW"
style="vertical-align: -webkit-baseline-middle;
font-size: medium; font-family: Arial; display:
inline-block;" cellspacing="0" cellpadding="0">
<tbody>
<tr style="text-align: right;">
<td> <a
href="https://www.linkedin.com/in/jinfanzon/"
color="#6770b6" class="sc-hzDkRC kpsoyz"
style="display: inline-block; padding:
0px; background-color: rgb(103, 112,
182);"> <img
src="https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/linkedin-icon-2x.png"
alt="linkedin" color="#6770b6"
class="sc-bRBYWo ccSRck"
style="background-color: rgb(103, 112,
182); max-width: 135px; display:
block;" height="24"> </a> </td>
<td width="5"> <br>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td height="30"><br>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>