问题描述
我今天看到了关于 YouTube 流式传输 360 度视频的公告,https://youtube.googleblog.com/2016/04/one-step-closer-to-reality-introducing.html
I saw this announcement today about YouTube streaming 360 video, https://youtube.googleblog.com/2016/04/one-step-closer-to-reality-introducing.html
GCSVideoView loadFromUrl: 工作吗?下面从 VideoWidget iOS 示例修改的代码不显示 360 度视频...
Does GCSVideoView loadFromUrl: work? Code below modified from VideoWidget iOS sample doesn’t show 360 video...
NSString *videoPath =@"https://www.youtube.com/watch?v=Db-uq08ydI4";
[_videoView loadFromUrl:[[NSURL alloc] initFileURLWithPath:videoPath]];
很高兴看到这个工作!谢谢!
Excited to see this working! Thanks!
推荐答案
Google VR SDK 旨在将 360º 视频文件转换为 VR 环境.Youtube 是一个 HTML 页面.如果您可以直接访问流,您就可以使用 GVRVideoView.
The Google VR SDK is made to turn a 360º video file into the VR environment. Youtube is an HTML page. If you could access the stream directly, you would be able to use the GVRVideoView.
这篇关于GCSVideoView 是否适用于 YouTube 360 度直播?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!