SDK or API limitations/timeouts on 'unattended' use of an Apple Music-interface app

Hi, my team is developing an iOS app which connects to Apple Music (currently most of it is via API, but some tests have been done with MusicKit). In a separate development, we were using a service which competes with A.M., and when their (web) API is used, if the user doesn't interact with the app somehow (scrolling, buttons, etc), the connection will timeout after 30 seconds and force them to reconnect.

So, questions I have are:

  1. Is there any timeout regarding stopping tracks in Apple Music or does the connection to the A.M. app stay active?

  2. If the connection drops on iOS as well, is there any limitation regarding streaming A.M. content via API (aka are there licensing issues as well?)

SDK or API limitations/timeouts on 'unattended' use of an Apple Music-interface app
 
 
Q