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

Exit application functionality #511

Closed
JuanPabloGonzalez1 opened this issue May 17, 2020 · 4 comments
Closed

Exit application functionality #511

JuanPabloGonzalez1 opened this issue May 17, 2020 · 4 comments

Comments

@JuanPabloGonzalez1
Copy link

JuanPabloGonzalez1 commented May 17, 2020

Issue type

Other

Description

Hi! I'm developing an application in Qt using websocket to control OBS. I have already implemented a lot of functionalities using the QWebSocket class. Now I need to be able to close obs from my application but I don't think that this is possible with the current features of the obs-websocket. I also tried closing it with normal QProcess but this causes the obs tray icon to persist in the taskbar until you hover it with the mouse, this doesn´t happen when closed manually.

My questions are:

  • This functionality exists and I'm missing something in the documentation?
  • If not, is there a plan to add it in the future? Or is it even possible?
  • Is it normal for the icon to persist after the application is closed in some cases?

Windows 10
Qt 5.12.3
OBS 23.0.2

@tt2468
Copy link
Member

tt2468 commented May 17, 2020

The ability to exit OBS remotely does not currently exist. I can look into what it would take to add a request like this.

@tt2468
Copy link
Member

tt2468 commented May 17, 2020

Also no, it is not normal for the tray icon to persist, and you may be causing OBS to inadvertently crash. On top of that, it can cause OBS to lose data.

@JuanPabloGonzalez1
Copy link
Author

Thank you for your respone, it would be great to have this request added.

@tt2468
Copy link
Member

tt2468 commented May 17, 2020

Unfortunately it just doesn't look like the API exists on OBS's end to call a shutdown.

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