XML、图像、流视频和“过量数据”
我的第一个申请已提交给App Store,但由于“蜂窝网络数据量过多”而未能获得批准。我不知道他们如何测试这个,但由于它基本上是一个新闻应用程序,显示各种文章、图像和流媒体视频,我会去把拒绝归咎于视频。我无法确定测试它,因为 Ipod Touch 中没有网络统计信息,而且这是我唯一可以访问的设备。
所以我很好奇..
1)有谁知道苹果如何“运行”带宽测试?
2) 有哪些方法可以改进 XML 加载、图像显示和视频流以减少带宽(如果用户使用蜂窝网络)?对于图像,我使用异步加载(如果可以同时请求大量图像,这可能会成为问题?)我正在查看 http://allseeing-i.com/ASIHTTPRequest/ 可以帮助处理 XML,也许可以帮助图像加载,但我不明白是否可以使用 ASIHTTPRequest 来流式传输视频。
3)有没有办法在iPhone模拟器中测试网络使用情况?
My first application was submitted to App Store and failed to be approved owing to "excessive volumes of data over the cellular network". I don't know how they test this but since it's basically a news application which displays various articles, images and streamed videos, I would go and blame the videos for the rejection. I can't test it for sure because there is no network stats in Ipod Touch and that's the only device I can access.
And so I'm curious..
1) Does anyone have any idea how Apple "runs" bandwidth test?
2) What are ways I can improve my XML loading, image displaying and video streaming to reduce bandwidth (in case user uses cellular network)? For images, I use asynchronous loading (maybe that can be a problem if lots of images can be requested at the same time?) I'm looking at http://allseeing-i.com/ASIHTTPRequest/ which could help with XML and maybe image loading but I don't understand if I can use ASIHTTPRequest to stream a video.
3) Is there any way to test network usage in iPhone simulator?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我预计流媒体视频是问题所在。 Apple 希望您使用 HTTP 直播 如果您想通过蜂窝网络传输视频。
有关详细信息,请参阅问题 1236788。
I expect the streaming video is the problem. Apple want you to use HTTP Live Streaming if you want to stream video over the cellular network.
See question 1236788 for more information.
我认为他们通过查看网络接口的字节计数器来运行带宽测试。您可以在模拟器中执行相同的操作,方法是确保 Mac 上没有运行其他网络应用程序,然后查看“netstat -i -b”命令的输出。或者使用一个奇特的实用程序来监控带宽使用情况。
没有帮助,但我还是想说:在我看来,苹果的说法很愚蠢。他们为什么关心。
They run bandwidth tests by looking at byte counters for the network interface I think. You can do the same in the simulator by making sure no other networking apps are running on your mac and then look at the output of the 'netstat -i -b' command. Or use a fancy utility to monitor bandwidth usage.
Not helpful, but I'd like to say this anyway: Apple's claims are silly in my opinion. Why do they care.