How to download the segments from specific timestamp and specific duration in Dash Downloader ?
We want to download the segments in dash downloader from specific timestamp and for a specific duration. We want to do it by finding the duration and timestamp of each segment.
We are calling DashManifestParser.parse method to get the manifest and the segment information, it returns DashManifest object, we are unable of find the duration and timestamp of each segment in this object.
Could you please let us know if there is any way to find this information ?
@tonihei could you please help us?
Media3 1.8.0 will have a startPositionUs and durationUs setters in DashDownloader.Factory, which I think handle exactly what you are looking for. Please give that a try and re-open the issue (or file a new one) if anything is missing to handle your use case.