GithubHelp home page GithubHelp logo

Comments (6)

kailash09dabhi avatar kailash09dabhi commented on July 21, 2024

Please provide me complete details as this is too abstract when you say it is not recording.
Elaborate in more detail and i will get back to you as soon as possible :)

from omrecorder.

developerGM avatar developerGM commented on July 21, 2024

I have found the problem.
When I finish to record I create an object MediaPlayer() to play immediately the recorded sound but still saving was not completed. It would not be possible to add un'interface like "OnRecordSuccess" to be sure to have the file?

from omrecorder.

kailash09dabhi avatar kailash09dabhi commented on July 21, 2024

Sorry for late reply. I think you can check that on your end if file exist or not. also according to the implementation it must not take time. its very fast as only appending the header data to the PCM file. So there is no reason to have OnRecordSuccess callback.

from omrecorder.

developerGM avatar developerGM commented on July 21, 2024

Don't worry kailash09dabhi. You are right but in my case, when I finish to record audio I immediatly init a MediaPlayer and set as source the recorded audio. The problem is that the time between finish to record and set source in media player is really short...and the file not exists. For this reason I prefer init a new Mediaplayer in a "onRecordSuccess"...I don't know if can you understand what I mean. Thanks for your support.

from omrecorder.

kailash09dabhi avatar kailash09dabhi commented on July 21, 2024

if you think thats the issue then i think you can put a timer there. Also please share demo code.

from omrecorder.

kailash09dabhi avatar kailash09dabhi commented on July 21, 2024

Closes due to lack of activity.
Please , feel yourself free to reopen it.

from omrecorder.

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.