<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 id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p><span style="font-family: "Times New Roman"; font-size: 18.72px; font-weight: bold; text-align: -webkit-center;">Error: Inaccessible or unsupported back-end RTSP stream.</span><br>
</p>
<p><span style="font-family: "Times New Roman"; font-size: 18.72px; font-weight: bold; text-align: -webkit-center;"><br>
</span></p>
<p><span style="font-family: "Times New Roman", Times, serif; font-size: 12pt; text-align: -webkit-center;">I believe I have implemented the registerStream. I followed the example on the site. </span></p>
<p><span style="font-family: "Times New Roman"; font-size: 18.72px; text-align: -webkit-center;"><br>
</span></p>
<p><span style="font-family: "Times New Roman"; font-size: 18.72px; text-align: -webkit-center;"><span style="font-size: 12pt; font-family: "Times New Roman", Times, serif;">We have a custom proxy (based on the proxy example). It works well for us, I added
the code to registerStream and also </span><span style="font-size: 12pt; font-family: "Times New Roman", Times, serif;">changed to using the </span></span><span style="font-family: "Times New Roman", Times, serif; font-size: 12pt; text-align: -webkit-center;">RTSPServerWithREGISTERProxying::createNew
to create the RTSPServer for the RTSPServer on the proxy.</span></p>
<p><span style="font-family: "Times New Roman", Times, serif; font-size: 12pt; text-align: -webkit-center;"><br>
</span></p>
<p><span style="font-family: "Times New Roman", Times, serif; font-size: 12pt; text-align: -webkit-center;">This is my callback I use in the registerStream</span></p>
<p><span style="font-family: "Times New Roman", Times, serif; font-size: 12pt; text-align: -webkit-center;"><br>
</span></p>
<p><span style="font-family: "Times New Roman"; font-size: 18.72px; text-align: -webkit-center;"></span></p>
<pre style="margin-top: 0px; margin-bottom: 0px;"><pre style="margin-top: 0px; margin-bottom: 0px;"><!--StartFragment--><span style="color: rgb(128, 128, 0); font-size: 8pt;">void</span><span style="color: rgb(192, 192, 192); font-size: 8pt;"> </span><span style="font-size: 8pt;">responseToREGISTER(RTSPServer*</span><span style="color: rgb(192, 192, 192); font-size: 8pt;"> </span><span style="font-size: 8pt;">rtspServer,</span><span style="color: rgb(192, 192, 192); font-size: 8pt;"> </span><span style="color: rgb(128, 128, 0); font-size: 8pt;">unsigned</span><span style="color: rgb(192, 192, 192); font-size: 8pt;"> </span><span style="font-size: 8pt;">requestId,</span><span style="color: rgb(192, 192, 192); font-size: 8pt;"> </span><span style="color: rgb(128, 128, 0); font-size: 8pt;">int</span><span style="color: rgb(192, 192, 192); font-size: 8pt;"> </span><span style="font-size: 8pt;">resultCode,</span><span style="color: rgb(192, 192, 192); font-size: 8pt;"> </span><span style="color: rgb(128, 128, 0); font-size: 8pt;">char</span><span style="font-size: 8pt;">*</span><span style="color: rgb(192, 192, 192); font-size: 8pt;"> </span><span style="font-size: 8pt;">resultString)</span></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><span style="font-size: 8pt;">{</span></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><span style="color: rgb(192, 192, 192); font-size: 8pt;"> </span><span style="font-size: 8pt;">syslog(</span><span style="color: rgb(0, 0, 128); font-size: 8pt;">LOG_INFO</span><span style="font-size: 8pt;">,</span><span style="color: rgb(192, 192, 192); font-size: 8pt;"> </span><span style="color: rgb(0, 128, 0); font-size: 8pt;">"***</span><span style="color: rgb(192, 192, 192); font-size: 8pt;"> </span><span style="color: rgb(0, 128, 0); font-size: 8pt;">REGISTER</span><span style="color: rgb(192, 192, 192); font-size: 8pt;"> </span><span style="color: rgb(0, 128, 0); font-size: 8pt;">Response,</span><span style="color: rgb(192, 192, 192); font-size: 8pt;"> </span><span style="color: rgb(0, 128, 0); font-size: 8pt;">reqId=%d,</span><span style="color: rgb(192, 192, 192); font-size: 8pt;"> </span><span style="color: rgb(0, 128, 0); font-size: 8pt;">resultcode=%d,</span><span style="color: rgb(192, 192, 192); font-size: 8pt;"> </span><span style="color: rgb(0, 128, 0); font-size: 8pt;">resultStr=%s"</span><span style="font-size: 8pt;">,</span><span style="color: rgb(192, 192, 192); font-size: 8pt;"> </span><span style="font-size: 8pt;">requestId,</span><span style="color: rgb(192, 192, 192); font-size: 8pt;"> </span><span style="font-size: 8pt;">resultCode,</span><span style="color: rgb(192, 192, 192); font-size: 8pt;"> </span><span style="font-size: 8pt;">resultString);</span></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><span style="font-size: 8pt;">}</span></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><br><!--EndFragment--></pre><span style="font-family: "Times New Roman", Times, serif; font-size: 10pt;">I assume the registerStream user password should be NULL, even though our streams require a user password.</span></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style="font-family: "Times New Roman", Times, serif; font-size: 10pt;"><br></span></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><pre style="margin-top: 0px; margin-bottom: 0px;"><!--StartFragment--><span style="color: rgb(128, 0, 0); font-size: 9pt;">server->rtspServer</span><span style="font-size: 9pt;">->registerStream(server-></span><span style="color: rgb(128, 0, 0); font-size: 9pt;">sms</span><span style="font-size: 9pt;">,</span></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><span style="color: rgb(192, 192, 192); font-size: 9pt;"> </span><span style="color: rgb(0, 128, 0); font-size: 9pt;">"webrtc.live555.com"</span><span style="font-size: 9pt;">,</span><span style="color: rgb(192, 192, 192); font-size: 9pt;"> </span><span style="color: rgb(0, 0, 128); font-size: 9pt;">11685</span><span style="font-size: 9pt;">,</span></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><span style="color: rgb(192, 192, 192); font-size: 9pt;"> </span><span style="font-size: 9pt;">responseToREGISTER,</span></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><span style="color: rgb(192, 192, 192); font-size: 9pt;"> NULL</span><span style="font-size: 9pt;">,</span></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><span style="color: rgb(192, 192, 192); font-size: 9pt;"> NULL</span><span style="font-size: 9pt;">,</span></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><span style="color: rgb(192, 192, 192); font-size: 9pt;"> </span><span style="font-size: 9pt;">True</span><span style="color: rgb(0, 128, 0); font-size: 9pt;">/*receiveOurStreamViaTCP*/</span><span style="font-size: 9pt;">,</span></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><span style="color: rgb(192, 192, 192); font-size: 9pt;"> </span><span style="font-size: 9pt;">"<span>smarthomeVideo-34</span>");</span></pre><pre style="margin-top: 0px; margin-bottom: 0px;"><span style="color: rgb(0, 0, 128); font-size: 9pt;"><br></span><!--EndFragment--></pre></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style="font-family: "Times New Roman", Times, serif;">Is there away to get more info from the server to understand why it fails?</span></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><br></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style="font-family: "Times New Roman", Times, serif;">Thanks,</span></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style="font-family: "Times New Roman", Times, serif;">Craig</span></pre>
<p></p>
</div>
</body>
</html>