![]() |
Sunshine latest
Self-hosted game stream host for Moonlight.
|
Public Member Functions | |
| std::vector< std::string > | get_output_names () |
| Generate a sorted list of known output names. | |
| int | init (const bool setup_permissions=true) |
| Connect to KWin wayland, enumerate outputs. | |
| bool | kwin_available () const |
| Check if KWin is available for potential screencasting. | |
| screencast_t & | operator= (screencast_t &&)=delete |
| int | start (const std::string_view &output_name) |
| Request a screencast stream. | |
Public Attributes | |
| uint32_t | out_node_id = PW_ID_ANY |
| uint64_t | out_objectserial = SPA_ID_INVALID |
| std::shared_ptr< output_parameter_t > | out_params = nullptr |
Wayland KDE ScreenCast session
Owns its own wl_display connection. Binds zkde_screencast_unstable_v1 and wl_output from the registry, then calls stream_output() to start a ScreenCast. Waits for the created(node_id) event from KWin.
|
inline |
Generate a sorted list of known output names.
|
inline |
Connect to KWin wayland, enumerate outputs.
| setup_permissions | - Try to setup KWin permissions (default: true) |
|
inline |
Check if KWin is available for potential screencasting.
|
inline |
Request a screencast stream.
| output_name | Which wl_output to capture. |