Tag: chromecast

Chromecast可以在默认接收器上投射.m3u8直播videostream吗?

我已经尝试在默认接收器上投射.mp4。 它工作很好。 使用相同的设置来播放m3u8和元数据来,但video不播放。 想知道我是否可以在默认接收器上投出.m3u8。 如果是这样,我应该使用什么样的MIMEtypes,我应该设置额外的设置?

谷歌Chromecast iOS SDK是否支持锁屏控件?

我已经尝试使用适用于iOS(2.1.0)的最新GoogleCast框架为谷歌Chromecastvideostream应用程序实现locking屏幕控件。 我已更正示例Chromecast应用 – https://github.com/googlecast/CVideosVideos-ios已将UIBackgroundModes行添加到Info.plist 增加了MediaPlayer框架。 并将以下代码添加到ChromecastDeviceController.m #import <MediaPlayer/MPNowPlayingInfoCenter.h> #import <MediaPlayer/MPMediaItem.h> ……. – (BOOL)loadMedia:(NSURL *)url thumbnailURL:(NSURL *)thumbnailURL title:(NSString *)title subtitle:(NSString *)subtitle mimeType:(NSString *)mimeType startTime:(NSTimeInterval)startTime autoPlay:(BOOL)autoPlay { ….. [[UIApplication sharedApplication] beginReceivingRemoteControlEvents]; Class playingInfoCenter = NSClassFromString(@"MPNowPlayingInfoCenter"); if (playingInfoCenter) { NSDictionary *songInfo = [NSDictionary dictionaryWithObjectsAndKeys: @"Test artist", MPMediaItemPropertyArtist, @"Test title", MPMediaItemPropertyTitle, @"Test Album", MPMediaItemPropertyAlbumTitle, nil]; [[MPNowPlayingInfoCenter defaultCenter] setNowPlayingInfo:songInfo]; } […]

Google Cast SDK 2.3.0 for iOS不支持64位

看起来iOS的Google Cast SDK的2.3.0版本停止了对arm64架构的支持(它确实支持x86_64 ,使它在64位模拟器中工作) λ: cd GoogleCast.framework λ: file GoogleCast GoogleCast: Mach-O universal binary with 5 architectures GoogleCast (for architecture cputype (16777228) cpusubtype (0)): current ar archive GoogleCast (for architecture armv7): current ar archive random library GoogleCast (for architecture armv7s): current ar archive random library GoogleCast (for architecture i386): current ar archive random library GoogleCast […]