I have an app which stream videos, now my new feature is to save that videos for offline view. I saw offline feature of hotstar, when we save offline video hotstar save video spit as some chunk.ts format, it will be saved on corresponding andriod folder of hotstar, how can i achive this I search web but did not get any proper info how to implment this. when I search for chunk.ts I got some github data https://github.com/AndyA/ts-split
which is in pearl, so when I saw I had doubt like this should done on serverside and when we download the files will downloaded from server. can any one give an expert suggetion regarding this.
Thank you