jonataslaw / jonataslaw/VideoCompress
MediaInfo duration is integer not double
- Dominant language
- Swift
- Stars
- 262
- Forks
- 344
- PR merge metrics
- No merged PRs in 30d
Description
Hi. I am using video_compress: ^2.1.0 and on running "compressVideo" function it returns MediaInfo instance.
```
class MediaInfo {
String path;
String title;
String author;
int width;
int height;
/// [Android] API level 17
int orientation;
/// bytes
int filesize; // filesize
/// microsecond
double duration;
bool isCancel;
File file;
MediaInfo({
@required this.path,
this.title,
this.author,
this.width,
this.height,
this.orientation,
this.filesize,
this.duration,
this.isCancel,
this.file,
});
```
in this class it says that it returns duration as double/microsecond
but when I upload the video on firebase parsing those data it seems that it returns duration as integer with millisecond unit.
could you check if is it a bug?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.