سؤال

Is it possible to cast a new media while the app is running in the background? (Like loading the next track when playing a playlist)

My understanding is that on iOS, the GCKCastSocket is closed when the app is in background (even when running in background mode). Is there a way around that behaviour? Keeping the socket open would also allow for real time updates of the lock screen controls as described in the design checklist.

هل كانت مفيدة؟

المحلول

where is your media hosted? If it is in the cloud, you can send the "playlist" to the receiver and write a simple custom receiver to go to the next track when one completes.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top