Capture Audio Problem

10 posts, 0 answers
  1. Thomas
    Thomas avatar
    14 posts
    Member since:
    Jun 2013

    Posted 12 Jul 2013 Link to this post

    Hi , 

    I'm using this : http://cordova.apache.org/docs/en/2.5.0/cordova_media_capture_capture.md.html#capture.captureAudio 

    When I'm clicking on "Capture audio" button , nothing happen and the microphone appears only when I lock and unlock my phone . How can I fix this problem ?

    Thanks


     
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 15 Jul 2013 Link to this post

    Hello Thomas,

    Everything seems to be working when we test locally our capture sample application. Our suggestion is to clone this sample app and test it directly on your device to see whether it works. If it does, you can compare the differences with your app. If it does not, we would need more information about the mobile device and OS version you're testing on.

    Regards,
    Steve
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
  3. Thomas
    Thomas avatar
    14 posts
    Member since:
    Jun 2013

    Posted 16 Jul 2013 Link to this post

    When I load my project for the first time it works fine. But when I refresh it on Icenium Ion, i have to lock/unlock my phone to show the microphone. It's probably a problem with Ion . 
  4. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 24 Jul 2013 Link to this post

    Hello Thomas,

    We're not able to reproduce this in our local tests on several devices. Can you try on another iOS device to ensure that it is not a specific device problem? If the problem exhibits itself on another device, then please provide us with step by step instructions how to reproduce it with the capture sample.

    Regards,
    Steve
    Telerik

    Do you enjoy Icenium? Vote for it as your favorite new product here (use short code H048S).
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
  5. Brian
    Brian avatar
    4 posts
    Member since:
    Dec 2013

    Posted 27 Mar 2014 Link to this post

    Have you found any workaround or fix for this?  I'm having the same issue.  Media Capture works fine the first time.  If I try a second time, it fails silently.  The UI doesn't appear.  In fact, even native alerts do not appear.  If I record once, stop, lock, unlock, then record again, it works fine.
  6. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 31 Mar 2014 Link to this post

    Hello Brian,

    Unfortunately, we have not been able to reproduce the issue on our side. So, if you provide exact steps to do so, we will be more than happy to assist. You can take our Capture sample as a starting point. Another option will be to give us the name of an application in your account, where the matter reproduces and we will give it a look. If you choose the second option, I recommend opening a new support ticket and sharing the sensitive information with us there.

    I am looking forward to hearing from you.

    Regards,
    Kaloyan
    Telerik
     

    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET. Seats are limited.

     
  7. Brian
    Brian avatar
    4 posts
    Member since:
    Dec 2013

    Posted 31 Mar 2014 in reply to Kaloyan Link to this post

    You can record multiple times in the same app session?  On iOS?

    It's a bug in Cordova.  I fixed it by forcing it to flush its pending command queue when a command implementation completes.
  8. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 03 Apr 2014 Link to this post

    Hello Brian,

    I am pleased to hear that you have found a way around the issue.

    Nevertheless, I tested our Capture sample app again. This time, I used three different apple devices: iPhone 5S (running iOS 7.1), iPhone 3 (running iOS 6.0) and iPod 5th Generation (running iOS 5.0.1). On all of the above devices the capture audio function worked as expected for several times without restarting the app or locking/unlocking the device.

    Regards,
    Kaloyan
    Telerik
     

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

     
  9. tatiana
    tatiana avatar
    1 posts
    Member since:
    Dec 2014

    Posted 31 Dec 2014 in reply to Brian Link to this post

    Hi! How did you solve this problem? I'am having the same issue. I try to found something about cordova flush but I was unsuccessful.
    Thank you!
  10. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 05 Jan 2015 Link to this post

    Hi Tatiana,

    As we are still unable to reproduce the matter on our side, I will kindly ask you to provide a sample that demonstrates the faulty behavior. Such, will allow us to investigate what is causing the issue. You should be able to attach an archived copy of an AppBuilder sample project to your reply. Also, please share the exact device (model and OS version) and deployment procedure (how do you build and then deploy the application) you are following. Thank you for the help in advance. I am looking forward to hearing from you.

    Regards,
    Kaloyan
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top