Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regarding the problem of dual-screen video display, use Presentation to implement it #1092

Open
leosky07 opened this issue Dec 12, 2023 · 5 comments
Labels

Comments

@leosky07
Copy link

I have a set-top box that supports VGA and HDMI output. I have some operation interfaces and video playback on VGA. How can I synchronize VGA video to HDMI? Only the video part of VGA is synchronized instead of synchronizing everything. Is this possible? Realized?

@PierfrancescoSoffritti
Copy link
Owner

Hi, I don't understand how this question is related to the library?

@leosky07
Copy link
Author

@PierfrancescoSoffritti Hello, let me first describe my usage scenario: I am developing an APP that plays videos. This APP runs on a TV set-top box. This set-top box supports VGA and HDMI output and the set-top box is connected to two screens. I use your library It is used to play YouTube videos on a VGA screen. I want to display the video being played on the HDMI screen as well. What do I need to do to achieve this function? When I use mediaplayer to play videos, I use MediaPlayer.setDisplay(SurfaceHolder sh) to easily display the video on the VGA and HDMI screens at the same time. I want to know if YouTubeplayer can implement this function?

@billdizl
Copy link

i think u can implement this function, but not lib to consider

@leosky07
Copy link
Author

@billdizl Because this library has great support for playing YouTube videos and the playback is very smooth, so I used this library. Can you share with me other methods that can achieve my needs? Thank you.

@PierfrancescoSoffritti
Copy link
Owner

This library provides a view that you can use to play videos, it's up to you where you show it. We don't have methods such as MediaPlayer.setDisplay(SurfaceHolder sh).

What is preventing you from showing the view where you need it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants