<div dir="ltr"><div><div><div>I wrote a HLS streamer for live stream in my last job that used live555 to pull from security cameras. I only had to make a small modification to the MPEG2TransportStream class to make deterministic PAT packet (or was that PES, sorry this is from memory). These packets are currently inserted on a timer basis and not related to the keyframe. In order for different people people to connect at different times This was changed to every so many Keyframes. Keyframes are already regularly spaced so I then could use the PAT/PES packets to know where to split the file. I used the Mongoose embedded web server and made a complete in memory system.<br>
<br></div>But...<br><br></div>It was not widely used becasue this was security video and HLS has a latency of At Least 1.5 segments and the segment is supposedly minimum 5 seconds. I was able to go to 2 seconds. This was unacceptable. It was easier to port the browser plugin to an android and iphone app and just stream rtsp to the devices.<br>
<br></div>I had another propritary protocol serving frames over HTTP and one of the newer standards is very similar. WEB-M + VP8<br><div><div><div><br><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sat, May 3, 2014 at 2:55 AM, Ross Finlayson <span dir="ltr"><<a href="mailto:finlayson@live555.com" target="_blank">finlayson@live555.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><blockquote type="cite"><div link="blue" vlink="purple" style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" lang="EN-US">
<div><div style="margin:0in 0in 0.0001pt 0.75in;font-size:11pt;font-family:Calibri,sans-serif"><span>1)<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:'Times New Roman'"> <span> </span></span></span>Can we stream h.264 encoded data using HLS in live555. If so, can you please point me out the example which does this in live555 testProgs folder.</div>
</div></div></blockquote><div><br></div>It's not an application in the "testProgs" directory. Instead, it's the "LIVE555 Media Server" application (in the "mediaServer" directory). See</div>
<div><span style="white-space:pre-wrap"> </span><a href="http://www.live555.com/mediaServer/#http-live-streaming" target="_blank">http://www.live555.com/mediaServer/#http-live-streaming</a></div><div><br></div><div><br></div>
<div><blockquote type="cite"><div link="blue" vlink="purple" style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" lang="EN-US">
<div><div style="margin:0in 0in 0.0001pt 0.75in;font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></div><div style="margin:0in 0in 0.0001pt 0.75in;font-size:11pt;font-family:Calibri,sans-serif"><span>2)<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:'Times New Roman'"> <span> </span></span></span>I was going through a example testMPEG2TransportStreamer.cpp which stream a test.ts.<u></u><u></u></div>
<div style="margin:0in 0in 0.0001pt 0.75in;font-size:11pt;font-family:Calibri,sans-serif">I have placed a valid test.ts file in the path and executed the testMPEG2TransportStreamer.exe.<u></u><u></u></div><div style="margin:0in 0in 0.0001pt 0.75in;font-size:11pt;font-family:Calibri,sans-serif">
But what is the url so that it will play in browser.</div></div></div></blockquote><div><br></div>By default (unless you make a small modification to the code), the "testMPEG2TransportStreamer" application does not have a built-in server, and therefore is not accessed via a URL. Instead, run the "LIVE555 Media Server":</div>
<div><span style="white-space:pre-wrap"> </span><a href="http://www.live555.com/mediaServer/" target="_blank">http://www.live555.com/mediaServer/</a></div><div><br></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif"> </span><br>
<blockquote type="cite"><div link="blue" vlink="purple" style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" lang="EN-US">
<div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u><u></u></div><div style="margin:0in 0in 0.0001pt 0.75in;font-size:11pt;font-family:Calibri,sans-serif"><span>3)<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:'Times New Roman'"> <span> </span></span></span>Can we stream a h264 data simultaneously to both RTSP and HLS clients.</div>
</div></div></blockquote><div><br></div></div>As noted in the first link above, the "LIVE555 Media Server" can stream a MPEG Transport Stream file - containing H.264 video - to clients using either RTSP or HLS. However, the data source *must* be a file (and must have a corresponding index file), and is not streamed 'simultaneously' to multiple clients. (Instead, multiple clients can each choose to stream the file at whatever time they choose.) Note that we do not support HLS streaming from a live source - only from a pre-recorded (and pre-indexed) file.<span class="HOEnZb"><font color="#888888"><br>
<br><div>
<span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Ross Finlayson<br>
Live Networks, Inc.<br><a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a></span></span>
</div>
<br></font></span></div><br>_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
<br></blockquote></div><br></div>