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

Overlay issues with preview display and webcontent #1229

Open
n3g2 opened this issue Nov 25, 2022 · 2 comments
Open

Overlay issues with preview display and webcontent #1229

n3g2 opened this issue Nov 25, 2022 · 2 comments

Comments

@n3g2
Copy link

n3g2 commented Nov 25, 2022

Can the preview display be plotted under the webcontent? This allows you to overlay the OBS preview within the same BrowserWindow by adding a transparent BrowserView.

@summeroff
Copy link
Contributor

Hi,
There is a new argument in OBS_content_createDisplay function to activate this functionality.

displays.insert_or_assign(args[1].value_str, new OBS::Display(windowHandle, mode, args[3].value_union.ui32));

But there is limitations on Electron side as it able to render Browser Window above display only with HW acceleration enabled.

@Fucntion
Copy link

Fucntion commented Nov 9, 2023

请问可以将display输出到指定的canvas元素吗?

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

No branches or pull requests

3 participants