Giter Site home page Giter Site logo

wizpanda / cordova-plugin-nativeaudio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from floatinghotpot/cordova-plugin-nativeaudio

6.0 6.0 13.0 2.93 MB

The low latency audio plugin is designed to enable low latency and polyphonic audio from Cordova/PhoneGap applications, using a very simple and basic API.

License: MIT License

Java 27.08% Objective-C 46.05% CSS 3.70% HTML 3.74% JavaScript 19.43%
audio cordova

cordova-plugin-nativeaudio's People

Contributors

bbosman avatar dhaval85 avatar floatinghotpot avatar francescomussi avatar fridjon avatar giuseppelt avatar janpio avatar juangaspar avatar menardi avatar nrocy avatar pei-neofonie avatar rasmuswikman avatar richee85 avatar rngwlf avatar rodmg avatar sagrawal31 avatar sashasirotkin avatar sidneys avatar thiago-negri avatar thibaudd avatar tylervz avatar volrath avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cordova-plugin-nativeaudio's Issues

[iOS - ionic] Plugin does not release audio resource in phone

Good day.
First, thanks for the work you put in to enhance this plugin on behalf of the errors found in the original source.

I have an application that accepts video calls, I manage to play a sound in the background of an incoming call to alert the user someone is calling him. But once I accept it the sound automatically drops low somewhat similar to a normal phone call, so you have to put your ear near to the speaker, otherwise, you won't hear anything. This makes no sense in a video call as you want to use your camera to show your face while chatting with the other person.

I use the "preloadComplex" function to load the asset in the deviceReady function, once I accept the incoming call I use the "stop" function to pause the sound. Although this seems to work, it causes the audio from the call to be reproduced through the speaker instead of the loudspeaker, it should be high enough to hear the conversation from far away. What should I do here?

My configuration:

  • iPhone 7

  • SO Version: 13.5.1

  • MacBook Pro with macOS Catalina Version 10.15.7 (build 19H114)

  • Ionic Framework: ionic-angular 3.9.10

  • Ionic CLI: 6.11.8

  • Cordova CLI: 10.0.0

  • Cordova Platforms: android 8.0.0, ios 5.1.0

  • Xcode: 12.4 Build Version 12D4e

  • Visual Studio Code Version 1.53.1

Is it possible to play 2 sounds simultaneously?

See title. I want to play a sound which occurs after time x. While this sound plays, i want to let the user play sounds with a button click. As it looks for me the sound gets interrupted,as soon as the other sound gets played. Any help is appreciated, thanks!

Pause on Android

Hi! Awesome fork but one question: Is it possible to pause the audio?
I can see references to it the Java files.

Thank you!

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.