public ArchiveVideoVideo(IReadSeekStreamFactory streamFactory, string path, long startTime, long videoLength) { _streamFactory = streamFactory; URI = path; Name = _streamFactory.Name; VideoTime = new ArchiveVideoTime(streamFactory, path, startTime, videoLength); }
public ArchiveVideoVideo(ZipEntry zipEntry, Archive.Archive archive, string path, long startTime, long videoLength) { _zipEntry = zipEntry; _archive = archive; URI = path; _streamFactory = _archive.OpenFileFactory(_zipEntry); VideoTime = new ArchiveVideoTime(_streamFactory, path, startTime, videoLength); }