当我尝试在OOyala player中使用embedded ID进行run a video时,我变得像"Widevine can only run on ARMv7"一样。
NSLog(@"video id= %@ ",videoID);
self.ooyalaPlayerViewController = [[OOOoyalaPlayerViewController alloc] initWithPcode:PCODE domain:PLAYERDOMAIN];
// Attach it to current view
[self addChildViewController:_ooyalaPlayerViewController];
[self.ooyalaPlayerViewController.view setFrame:self.videoPlayerView.bounds];
[self addChildViewController:self.ooyalaPlayerViewController];
[self.videoPlayerView addSubview:self.ooyalaPlayerViewController.view];
// Load the video
[self.ooyalaPlayerViewController.player setEmbedCode:videoID];
// Add observers
[self addObserversForOoyalaVideoplayer];
[self addCloseButton];
[self.ooyalaPlayerViewController.player play];发布于 2014-04-25 02:53:57
当我还在Ooyala工作的时候,我添加了这一行。
基本上,iOS的Widevine回放库只在编译后的ARM二进制文件中分发。模拟器在x86上本地运行,所以它不能加载库(我相信它是有目的的,因为它使DRM代码更难进行反向工程),并且我们发出一个警告。
尝试在实际的设备上播放它,一切都应该正常工作。
发布于 2014-04-27 16:02:12
在我们的例子中,我们是在iPhone 5S上测试的,这一点真的不容忽视。
事实证明,问题是我们保留了项目文件配置的原样,这给构建添加了arm64支持,这破坏了播放器。我们所要做的就是覆盖所有项目文件和构建中的架构配置。
发布于 2014-06-01 01:25:53
在build设置中将valid和build architectures设置为armv7,并尝试运行它将工作的应用程序。
https://stackoverflow.com/questions/23265484
复制相似问题