Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/121.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios MPNowPlayingFoCenter Google Cast SDK_Ios_Google Cast Sdk_Mpnowplayinginfocenter - Fatal编程技术网

Ios MPNowPlayingFoCenter Google Cast SDK

Ios MPNowPlayingFoCenter Google Cast SDK,ios,google-cast-sdk,mpnowplayinginfocenter,Ios,Google Cast Sdk,Mpnowplayinginfocenter,我正在使用Google Cast SDK for iOS,我想让当前流式传输到Cast设备的项目显示在锁屏控件上。我似乎无法找到两者之间的直接集成,但我知道这一定是可能的,因为Spotify也提供了这一功能 由于锁屏控件与AVPlayer配合使用,我认为可以在AVPlayer上和通过Google Cast播放相同的项目,同时“静音”AVPlayer项目。但这似乎是一个非常糟糕的解决方案,因为我使用的是音频流,可能很难保持同步

我正在使用Google Cast SDK for iOS,我想让当前流式传输到Cast设备的项目显示在锁屏控件上。我似乎无法找到两者之间的直接集成,但我知道这一定是可能的,因为Spotify也提供了这一功能

由于锁屏控件与AVPlayer配合使用,我认为可以在AVPlayer上和通过Google Cast播放相同的项目,同时“静音”AVPlayer项目。但这似乎是一个非常糟糕的解决方案,因为我使用的是音频流,可能很难保持同步