在两个不同屏幕上播放视频的Android盒
我正在尝试开发一个使用两个单独的显示器的Android应用程序。 我目前的设置是一个ODROID盒,该盒子连接到带有HDMI电缆的两个不同的显示器。 我知道如何使用Exoplayer创建一个应用程序在一个显示器上播放它,但是我找不到在每个屏幕上播放不同视频的任何线索。 这是可行的吗?如果是这样,我应该使用哪个课程来实现这一目标?
I am trying to develop an Android app that uses two separate monitors.
My current setup is one Odroid box connected to two different monitors with HDMI cables.
I know how to create an app with Exoplayer to play it on one monitor, but I cannot find any clues on playing different videos on each screen simultaneously.
Is this feasible? If so which class should I use to achieve this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这似乎是您要寻找的功能:
https://developer.android.com/guide/topics/large-screens/multi-window-support-support#multi-display
请注意,它只能在Android 10+中起作用。那是因为您需要两个屏幕都在
恢复
状态下,如果两个都将同时显示视频。This seems to be the feature you're looking for:
https://developer.android.com/guide/topics/large-screens/multi-window-support#multi-display
Note that it will only work in Android 10+. That's because you need both screens to be in the
resumed
state if both are going to display videos simultaneously.