Comments (1)
It's working fine with another emulator. My problem was the Android emulator used an API older than 24.
In case anyone else without Android experience have the same problem here it's what I found. The pause
method for Android MediaRecorder
was introduced in API 24. That means that , the Android SDK you are using to build the application and the phone(emulator) , both have to support that API level or newer. I guess, would need to check at runtime the version of Android in which the app is running, and then show the pause button only if supported.
from nativescript-audio.
Related Issues (20)
- 'setAudioStreamType' and 'abandonAudioFocus' are deprecated.
- High severity vulnerabilites reported by npm audit HOT 1
- Demo code crashes: Uncaught (in promise): Error: Could not find module './3.js'
- Can't build demo app HOT 2
- NS7 issue with ios audio HOT 10
- Android only error with NS7 HOT 8
- NS 7: Random crashes on iOS device EXC_BAD_ACCESS HOT 7
- NS7: EXC_CRASH before audio starts playing
- Android/ios no sound HOT 5
- Is pitch change currently possible?
- Using seekTo while playing from url terminates the playback HOT 1
- JS ERROR Error: Class "AVAudioPlayer" referenced by type encoding not found at runtime
- Please tag releases
- android.media.AudioFocusRequest.Builder crash HOT 3
- how to play two files simultaneously? HOT 1
- Still playing in background HOT 2
- No sound in simulator (iOS) HOT 3
- Can not play audio from my app/assets/audios folder
- Could not request audio focus nativescript-audio version 6.2.6 on Android 14
- ios NSOSStatusErrorDomain HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-audio.