应用程式因未使用HTTP即时串流通讯协定而被拒绝 [英] App Rejected for not using HTTP Live Streaming Protocol

查看:148
本文介绍了应用程式因未使用HTTP即时串流通讯协定而被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要进行任何代码级更改才能通过HTTP Live Streaming协议播放我的视频?


我们已经审核过您的申请,但
无法将此版本发布到应用程序
商店,因为它不使用HTTP
直播流协议,这是通过蜂窝网络广播流
视频所需的

超过十分钟。我们有
包括下面的额外细节到
帮助解释这个问题,希望
你会考虑修改和
重新提交你的申请。


< blockquote>

这是我如何播放视频。它只是指向一个CloudFront URL:

   - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *) indexPath {

STVideo * mySTVideo;
mySTVideo = [items objectAtIndex:indexPath.row];

moviePlayerViewController = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL URLWithString:mySTVideo.video_url]];

moviePlayerViewController.view.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@st-screen.png]];
[self presentMoviePlayerViewControllerAnimated:moviePlayerViewController];

[moviePlayerViewController release];

[tableView deselectRowAtIndexPath:indexPath animated:YES];

}


解决方案

似乎相当直接的我。您正在跨网络网络播放超过10分钟的信息流,而不使用 HTTP实时流式传输。阅读了Apple的关于实时流式传输的文档,我猜这个问题是完全服务器端的,即如果你将媒体播放器对象指向一个实时流式URL,它会自动计算出来。 p>

Do I need to make any code-level changes to play my videos over HTTP Live Streaming protocol? or is it more a server issue, where i need to re-encode the videos etc?

We've reviewed your application, but cannot post this version to the App Store because it is not using the HTTP Live Streaming protocol, which is required for broadcasting streaming video over the cellular networks for longer than ten minutes. We have included additional details below to help explain the issue, and hope you’ll consider revising and resubmitting your application.

Here is how I am playing the video. It is just pointing to a CloudFront URL:

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {

    STVideo *mySTVideo;
    mySTVideo = [items objectAtIndex:indexPath.row];

    moviePlayerViewController = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL URLWithString:mySTVideo.video_url]];

    moviePlayerViewController.view.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"st-screen.png"]];
    [self presentMoviePlayerViewControllerAnimated:moviePlayerViewController];

    [moviePlayerViewController release];

    [tableView deselectRowAtIndexPath:indexPath animated:YES];

}

解决方案

It all seems quite straight forward to me. You are playing a stream for more than 10 minutes across the cell network without using HTTP live streaming. Having read through Apple's documentation on live streaming, I would guess the issue is entirely server side i.e. if you point the media player object at a live streaming URL, it'll figure it out automatically.

这篇关于应用程式因未使用HTTP即时串流通讯协定而被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆