|
Hermes 0.7.0
Linux game streaming host
|
One live isolated session, as the host needs to see it. More...
#include <src/process.h>
Public Attributes | |
| uint32_t | launch_session_id {} |
| std::string | client_uuid |
| std::string | client_name |
| std::string | app_id |
| std::string | app_name |
| std::string | profile |
| "desktop" or "application". | |
| std::string | compositor |
| std::string | seat |
| std::string | display |
| std::string | account_user |
| Empty where the session runs as the Hermes user. | |
| uint32_t | account_uid {} |
| std::string | unit |
| The systemd unit, where the session has one. | |
| std::string | audio_sink |
| Empty where the session shares the host's audio. | |
| bool | running {} |
| False for one whose compositor has died but was not reaped. | |
| int64_t | uptime_seconds {} |
One live isolated session, as the host needs to see it.
A session outlives the stream that started it - that is what lets a client reconnect to the desktop it left - so "who is streaming" is not the same question as "what is running on this machine", and the second one had no answer until now. Enough is reported here to tell one session from another and to decide which to end: whose it is, what it is running, where it is running, and whether it still is.
| std::string proc::proc_t::isolated_session_t::account_user |
| std::string proc::proc_t::isolated_session_t::audio_sink |
| uint32_t proc::proc_t::isolated_session_t::launch_session_id {} |
| std::string proc::proc_t::isolated_session_t::profile |
| bool proc::proc_t::isolated_session_t::running {} |
| std::string proc::proc_t::isolated_session_t::unit |
| int64_t proc::proc_t::isolated_session_t::uptime_seconds {} |