H0201030 / record-rtc-together

Record video and audio together on the web using getUserMedia
66 stars 8 forks source link

Can not save audio over 15-20s #4

Open duybt0312 opened 10 years ago

duybt0312 commented 10 years ago

I try to save audio to server php by Muaz Khan code:

recorder.onAudioReady(function(blob) {

    PostBlob(blob, 'audio', fileName + '.wav');
 //   attachLink(blob, "audio");
}); 

But it works fine with under 10s, over that time, it's failed! Can you solve that?

zhuochun commented 10 years ago

Hey, I do not have this problem. Can you share more info? Browser version, sample code?

GuyIssler commented 10 years ago

I am having the same problem with saving audio over 15s-20s. and with saving video that last longer than 60s.

As metioned it works fine with under 10s video & audio.

zhuochun commented 10 years ago

@duybt0312 @GuyIssler

In the demo, audio or video blobs are converted to data link for viewing. When video/audio exceeded 10s, the data links' lengths exceeded the limit.

In my project, I can upload video + audio for more than 10+s.