Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的应用程序中,它有很多视频和动画来呈现视图。我使用 TVOutManager 示例应用程序实现了外部显示。除了视频部分,一切都很好。
在我的应用程序中,视频播放正常,但在外部窗口中没有显示任何内容,只是在一个小窗口中显示“电视已连接,视频正在电视中播放”。
那么如何解决这个问题..如何将内部应用视频显示到外部窗口。
任何想法或者我在这里做错了什么..
谢谢,
我在这里回答我自己的问题。
robterrell 的 TVOutManager 不会通过简单地执行 [[TvOutManager sharedinstance] startTvOut] 和 [[TvOutManager sharedinstance]s topTVOut] 将任何视频播放到外部设备;
在这里,我们将播放器的实例添加到 tvoutWindow。[tvoutWindow addSubview:玩家的实例];
但这里的事情是视频不显示在设备中,但您可以从设备控制外部窗口播放器。
干杯。