<div dir="ltr">I developed an aplication that receives TS (Transport stream packets) in a buffer of 2014 bytes, then the buffer was wrote to a file called "data.ts" and after will call the libvlc to reproduce it. This is happening in diferent threads, one thread is receiving and the main thread of my aplication allocates the vlc player (Just open the file and play it)<br><br>The problem of that is that the file comes bigger to quickly if you keep playing the video enough time could fill for complete your hard driver.<br><br>How would be a good aproach to resolve that problem? <br><br>Trying to handle the file and vlc to set a file size so when reach certain position in the file, the writting buffer will start in the begining of the file and vlc seek to the begining of the file too.<br><br>Or is there another function in libvlc that can help my to fire data from the buffer to the player.?<br></div>