<br>Hi. I am attempting to perform MPEG4 live streaming (on Windows) using live555 and DirectShow (SDK 9). I did the following:<br><br>1. Using DirectShow, I grab camera feed, encode it and dump the encoded data into a named pipe.
<br>2. I modified the testMPEG4VideoStreamer program, so that it can be spawned as a seperate thread. Also, I created a &quot;ByteStreamPipeSource&quot; and &quot;FramedPipeSource&quot; class - similar to ByteStreamFileSource and FramedFileSource - which read the encoded data from a named pipe.
<br><br>Using VLC as a client, I observed the following: Initially, streaming works fine (although with a small delay). Then it got stuck and played no further. I set the &quot;rtsp-caching&quot;, disabled &quot;drop late frames&quot; and &quot;skip frames&quot; parameters. Now when it gets stuck, it recovers a few seconds later, plays for a few seconds before getting stuck again.
<br><br>When I dump the encoded feed into a file and stream the file, at a later point in time, it plays smoothly. Currently, I am not modifying the presentation times. The difference between presentation times for successive packets when streaming live feed and through video though are different. Should I attempt to modify presentation time? Kindly advice on how I can avoid the problem of the live stream frequently getting stuck.
<br><br>Thanks,<br>Kartik<br>