<html 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=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 5 4 2 2 2 2 2 4;}
@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:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">I have done some light testing in this area.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Speculating a little here based on what you said, it seems like you’d want scalable video, from an RTSP camera stream, delivered to the web (and support mobile web browsers).</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Web RTC is the “right way” to go and believe Ross is working on something for this. Web RTC can provide pretty low latency streams. The downside as of writing this email is that it’s supported on all web browsers and mobile web browsers
EXCEPT Safari on iOS.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Http “LIVE” Streaming (HLS). This is supported on everything*. IIRC, not “natively” on chrome, but if you use a JS lib (<a href="https://github.com/video-dev/hls.js">https://github.com/video-dev/hls.js</a>) It’ll work. The downside is
latency is very high.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">You can convert the RTSP stream to HLS with ffmpeg(.exe). Use a command like this (assuming h264 compatible source stream, vcodec copy does no transcoding).</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span lang="EN" style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#14171A">ffmpeg</span></b><span lang="EN" style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#14171A"> -i "<rtspurl>" -hls_time 1 -hls_list_size
3 -hls_wrap 3 -vcodec copy -y video_file_exposed_to_http_server.m3u8<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#14171A"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#14171A">Just add the mime/type to your http server.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#14171A"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#14171A">That’s about it. I don’t want to get too off-topic for this list, so I’ll leave it at that..<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#14171A"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#14171A">-Jer<o:p></o:p></span></p>
</div>
</body>
</html>