示例#1
0
 public ArchiveVideoVideo(IReadSeekStreamFactory streamFactory, string path, long startTime, long videoLength)
 {
     _streamFactory = streamFactory;
     URI            = path;
     Name           = _streamFactory.Name;
     VideoTime      = new ArchiveVideoTime(streamFactory, path, startTime, videoLength);
 }
示例#2
0
 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);
 }