Comments (4)
I am unable to replicate this using the KotlinAudio demo app:
- play track in demo app and pause it
- go to spotify and play a song
- while it is playing go back to demo app and play the track again
result: spotify pauses
I was unable to replicate your YT instructions, since it pauses playback anyway when you put it into the background (probably need some kind of subscription to have it keep playing)
Which version of RNTP (or KotlinAudio) have you been testing this on? I will test in the RNTP example app also to see if I can replicate there.
(In general it is a good idea when creating an issue like this to make sure you can replicate the issue using on of the example apps, to make sure it isn't a bug in your implementation.)
from kotlinaudio.
Also unable to replicate this using the RNTP example app..
from kotlinaudio.
@puckey ah ok, sorry about that. I finally know how to make an example app, so I'll give that a try. If I can't reproduce it I'll close this issue.
from kotlinaudio.
@puckey it looks like when I disable autoHandleInterruptions
in the example app, then I can consistently reproduce the issue. I didn't realize autoHandleInterruptions
could pause other apps when our app starts playing. Looks like I just need to set autoHandleInterruptions
to true.
Hopefully doing that doesn't break our awkward RemoteDuck
handling. At one point a long time ago with v2, there was a setting that combined with remote-duck
led to SMS notifications starting/stopping our player, even when it was paused...
Anyway, this appears to be a setting, not a bug. Closing the issue. Thanks for your help!
from kotlinaudio.
Related Issues (18)
- Follow-up onAudioFocusChanged event after interruption is not emitted HOT 2
- Duplicate classes when used with other player HOT 3
- Allow seeking to double for improved accuracy HOT 1
- No license HOT 2
- AOD breaks remote seek HOT 2
- Fatal Exception: kotlin.UninitializedPropertyAccessException HOT 7
- Crash on upgrade to v1.1.0
- Linter Errors HOT 1
- Generate 1.2.5 HOT 3
- KotlinAudio v1.1.0 is not available on jitpack HOT 3
- Could not find KotlinAudio v0.1.29 HOT 2
- Failing To Update LockScreen Meta Data HOT 2
- [feat request] Square-crop Notification Albumart HOT 2
- Another SimpleCache instance uses the folder HOT 8
- Coil 2.2.0 is Not compatible with RN 0.64.4 HOT 3
- java.lang.UnsupportedOperationException on RN HOT 1
- BackBuffer Not Working?
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 kotlinaudio.