<span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">Hi, </span><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">
My <span class="" style="background-color:rgb(255,255,204);color:rgb(34,34,34)">ffmpeg</span>-based player plays a mpeg-ts file that downloaded from a server. I want my player be able to play the video file</div><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">
even when it is being downloaded. </div><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">There is no problem if the download speed is faster than reading speed, otherwise, it just stop playing.</div>
<div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">My question is that is there anyway to suspend <span class="" style="background-color:rgb(255,255,204);color:rgb(34,34,34)">ffmpeg</span> file reading to wait for data available to proceed?<br>
</div><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">Thanks</div><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">
Jack</div>