react-video-recorder
react-video-recorder copied to clipboard
Bug || RVRB-0001 || On uploading the recorded file from this plugin it gives infinity duration.
If we upload the file recorded from the recorder and try to upload it again it gives Infinity as duration.
You can use getSeekableBlob function from recordrtc;
e.g. import { getSeekableBlob } from "recordrtc";
then call it on the blob before passing it anywhere further
getSeekableBlob(blob, fixedBlob => { //fixedBlob will have the right duration });