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