Giter VIP home page Giter VIP logo

Comments (2)

samdutton avatar samdutton commented on July 20, 2024

Hi!

Glad to hear this was helpful.

The count variable is simply to ascertain whether the ondataavailable
handler has already been called.

You can change the amount of data to be returned in
the mediaRecorder.start() call – that's currently set to 2000 milliseconds.

There seems to be a problem with the download data, not sure why – I'm a
bit busy on other projects at the moment, but you might want to file a
Firefox bug.

Sam

On Wed, Nov 19, 2014 at 12:09 PM, feru007 [email protected] wrote:

thanks for this nice sample. it is so helpful. but i am facing a problem.
in simpl / mediarecorder / js / main.js
u used

count++;
if (count > 1) {
return;
}
console.log(e);
videoElement.src = window.URL.createObjectURL(e.data);

as u used "if (count > 1) return;" so it executes once. i am trying to
play in every 2 sec. i removed this condition checking. but in that case
code also played first time only. what should i do to play in every 2 sec
here ? Is there any issue ?


Reply to this email directly or view it on GitHub
#55.

from simpl.

feru007 avatar feru007 commented on July 20, 2024

Thanks  Sam for your quick reply. You are so helpful. This is my last question to you related to that code. I hope I am not disturbing you. Here i posted my question. I am eagerly waiting for your reply.
http://stackoverflow.com/questions/27088389/audio-capture-and-playback-not-working-using-mediarecorder-api-and-html5-audio-t

You have enough idea about dictaphone example code . there was your comment too. The link is belowhttps://hacks.mozilla.org/2014/06/easy-audio-capture-with-the-mediarecorder-api/
I tried to reach the writer of this post but i didn't find his mail id. That's why i am knocking your help.After reading my posted question in stackoverflow can you tell me that did i miss anything ? orIs there any other way to set audio.src ? or is there any issue i am missing ? or suggest me anything...
Waiting for your reply.Thanks in advance.-feru 

 On Thursday, November 20, 2014 8:13 PM, Sam Dutton <[email protected]> wrote:

Hi!

Glad to hear this was helpful.

The count variable is simply to ascertain whether the ondataavailable
handler has already been called.

You can change the amount of data to be returned in
the mediaRecorder.start() call – that's currently set to 2000 milliseconds.

There seems to be a problem with the download data, not sure why – I'm a
bit busy on other projects at the moment, but you might want to file a
Firefox bug.

Sam

On Wed, Nov 19, 2014 at 12:09 PM, feru007 [email protected] wrote:

thanks for this nice sample. it is so helpful. but i am facing a problem.
in simpl / mediarecorder / js / main.js
u used

count++;
if (count > 1) {
return;
}
console.log(e);
videoElement.src = window.URL.createObjectURL(e.data);

as u used "if (count > 1) return;" so it executes once. i am trying to
play in every 2 sec. i removed this condition checking. but in that case
code also played first time only. what should i do to play in every 2 sec
here ? Is there any issue ?


Reply to this email directly or view it on GitHub
#55.

Reply to this email directly or view it on GitHub.

from simpl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.