【发布时间】:2015-03-09 11:20:52
【问题描述】:
我想使用 API 而不是自定义接收器从 iOS 向 chromecast 发送图像流。
我可以使用此代码在 NSTimer 上发送图像
GCKMediaInformation *mediaInformation =
[[GCKMediaInformation alloc] initWithContentID:url
streamType:GCKMediaStreamTypeNone
contentType:@"image/jpg"
metadata:nil
streamDuration:0
customData:nil];
//cast video
[_mediaControlChannel loadMedia:mediaInformation autoplay:TRUE playPosition:0];
但每一帧之间都有严重的闪烁。 API 是否能够无缝传输图像?
【问题讨论】:
标签: ios stream chromecast