HLSDownloader use of browser object was storing each TS segment in memory and not releasing the memory. With large video files, the process memory could grow large enough that the kernel would kill it.
This patch diverts each downloaded segment to a re-used segment file and then appends the segment to the TS file. The process memory size no longer grows.
HLSDownloader use of browser object was storing each TS segment in memory and not releasing the memory. With large video files, the process memory could grow large enough that the kernel would kill it.
This patch diverts each downloaded segment to a re-used segment file and then appends the segment to the TS file. The process memory size no longer grows.