<div dir="ltr">Hi,<div> I've come across the following problems with HTTP Live Streaming,</div><div><br></div><div>1. Replies to HTTP GET requests are sometime truncated. As an example,</div><div>curl <a href="http://serverip/somets.ts">http://serverip/somets.ts</a> will sometimes result in only part of the playlist</div>
<div><br></div><div> I've traced this to fNumBytesToStream is not being initialized when created in handleHTTPCmd_StreamingGET, this caused doGetNextFrame to sometimes ended prematurely. </div><div><br></div><div> Should fNumBytesToStream be initialized to bufferSize too? </div>
<div><br></div><div>2. When streaming is in progress and client disconnected in the middle of a transfer, mediaServer will keep trying sending to the disconnected client in TCPStreamSink::processBuffer and will not respond to further requests.</div>
<div><br></div><div> Should there be a EPIPE check in the send call there?</div><div><br></div><div>Thank you,</div><div>Park.</div></div>