I have a small problem but I can't fix it with myself, I created a program that can video call conference and record the entire video but it takes 1 hour, and the file size is too big.
Is there any solution to reduce the file size or else just record the Audio only. I am using MultiStreamRecorder.js
in MediaRecorder.js
.
Here is my code.
multiStreamRecorder.ondataavailable = function (blob) {
data.push(blob);
var fileName = getFileName('webm');
var scheduleId = $('#stop-recording').data('id');
var fileObject = new File([data[0]], fileName, {
type: data[0].type
});
var objectUrl = URL.createObjectURL(data[0]);
var formData = new FormData();
formData.append('video_blob', fileObject);
formData.append('video_filename', fileObject.name);
formData.append('schedule_id', scheduleId);
$.ajax({
url: '/store',
data: formData,
cache: false,
contentType: false,
processData: false,
type: 'POST',
success: function(response) {
//
}
});
};
multiMediaRecorder.start();
//
function getFileName(fileExtension) {
var d = new Date();
var year = d.getUTCFullYear();
var month = d.getUTCMonth();
var date = d.getUTCDate();
return year + month + date + '-' + getRandomString() + '.' + fileExtension;
}
via Chebli Mohamed
Look at the way my partner Wesley Virgin's report begins with this SHOCKING and controversial video.
RépondreSupprimerWesley was in the military-and soon after leaving-he found hidden, "mind control" secrets that the government and others used to get everything they want.
THESE are the exact same methods many celebrities (especially those who "come out of nowhere") and the greatest business people used to become wealthy and successful.
You probably know that you use less than 10% of your brain.
That's because the majority of your brain's power is UNCONSCIOUS.
Perhaps this conversation has even occurred INSIDE OF YOUR very own brain... as it did in my good friend Wesley Virgin's brain about 7 years ago, while driving a non-registered, beat-up bucket of a car without a driver's license and in his pocket.
"I'm very fed up with living paycheck to paycheck! Why can't I become successful?"
You've taken part in those questions, ain't it right?
Your success story is waiting to happen. You need to start believing in YOURSELF.
CLICK HERE To Find Out How To Become A MILLIONAIRE