Giter Club home page Giter Club logo

Comments (4)

puckey avatar puckey commented on August 22, 2024

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.

puckey avatar puckey commented on August 22, 2024

Also unable to replicate this using the RNTP example app..

from kotlinaudio.

mitchdowney avatar mitchdowney commented on August 22, 2024

@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.

mitchdowney avatar mitchdowney commented on August 22, 2024

@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)

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.