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

The program preview error #219

Open
walter8729 opened this issue Apr 22, 2023 · 4 comments
Open

The program preview error #219

walter8729 opened this issue Apr 22, 2023 · 4 comments

Comments

@walter8729
Copy link

Sorry my english is bad. The issue is that the program preview should not be change or update when I toggle on/off any scene sources, but in the the web program preview is changed, but in obs program program preview is maintain last changes after transition.

its working fine when i change to other scenes to preview other scenes or scenes items, but when i change or update scene items of the same scene "onAir" is when the error happens.
The program preview in studio mode, i think should be mantain inmutable untill press transition button
OBS RE

@Niek
Copy link
Owner

Niek commented Apr 24, 2023

I don't understand the issue completely. So you are in studio mode, toggle a source off, and what goes wrong?

@Niek
Copy link
Owner

Niek commented Apr 24, 2023

Ah, I think I see what you mean: if both the preview and program scene are the same scene, and you toggle a source off, the preview in OBS-web shows the correct screenshot but the program scene is wrong. I need to check if this is an issue with OBS-web or with obs-websocket itself.

@Niek
Copy link
Owner

Niek commented Apr 24, 2023

Looking at https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcescreenshot, I don't think there's a way to distinguish screenshots from a program vs preview scene. Can you open a feature request upstream? Once that is implemented, we can add support for it in OBS-web.

@walter8729
Copy link
Author

You're right, I was reading the obs-websocket documentation, and you can only preview inputs, that is, a scene or an item from a scene. It would be necessary to implement functions like getProgramScreenShot(), or getPreviewScreenShot(), which return the previews of these outputs.

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

2 participants