Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
stream::session_t Struct Reference
Collaboration diagram for stream::session_t:
[legend]

Classes

struct  [struct].video
struct  [struct].audio
struct  [struct].control

Public Attributes

config_t config
safe::mail_t mail
std::shared_ptr< input::input_t > input
std::thread audioThread
std::thread videoThread
std::chrono::steady_clock::time_point pingTimeout
safe::shared_t< broadcast_ctx_t >::ptr_t broadcast_ref
boost::asio::ip::address localAddress
struct  video
struct  audio
struct  control
std::uint32_t launch_session_id
std::uint32_t isolated_runtime_owner_id {}
std::string device_name
std::string device_uuid
bool isolated_session {false}
std::string isolated_runtime_id
std::string isolated_seat_id
bool session_scoped_virtual_display {false}
std::string display_name
uuid_util::uuid_t display_guid {}
crypto::PERM permission
std::list< crypto::command_entry_t > do_cmds
std::list< crypto::command_entry_t > undo_cmds
safe::mail_raw_t::event_t< bool > shutdown_event
safe::signal_t controlEnd
std::atomic< session::state_e > state
std::atomic< session::termination_reason_e > termination_reason {session::termination_reason_e::UNKNOWN}
client_link_monitor_t client_link
 Gaps in what the client sends on the control connection.
unsigned int client_silences_logged {0}
 Silences logged individually so far; the control thread owns it.
video_loss_monitor_t video_loss
 Video the client reported losing on the way to it.
adaptive_fec_t adaptive_fec
 Parity percentage for the next frame, from what the client reported losing.

Detailed Description

Definition at line 374 of file stream.cpp.

Constructor & Destructor Documentation

◆ ~session_t()

stream::session_t::~session_t ( )
inline

Definition at line 375 of file stream.cpp.

Member Data Documentation

◆ adaptive_fec

adaptive_fec_t stream::session_t::adaptive_fec

Parity percentage for the next frame, from what the client reported losing.

Definition at line 486 of file stream.cpp.

◆ audioThread

std::thread stream::session_t::audioThread

Definition at line 391 of file stream.cpp.

◆ broadcast_ref

safe::shared_t<broadcast_ctx_t>::ptr_t stream::session_t::broadcast_ref

Definition at line 396 of file stream.cpp.

◆ client_link

client_link_monitor_t stream::session_t::client_link

Gaps in what the client sends on the control connection.

Definition at line 479 of file stream.cpp.

◆ client_silences_logged

unsigned int stream::session_t::client_silences_logged {0}

Silences logged individually so far; the control thread owns it.

Definition at line 481 of file stream.cpp.

◆ config

config_t stream::session_t::config

Definition at line 385 of file stream.cpp.

◆ controlEnd

safe::signal_t stream::session_t::controlEnd

Definition at line 473 of file stream.cpp.

◆ device_name

std::string stream::session_t::device_name

Definition at line 459 of file stream.cpp.

◆ device_uuid

std::string stream::session_t::device_uuid

Definition at line 460 of file stream.cpp.

◆ display_guid

uuid_util::uuid_t stream::session_t::display_guid {}

Definition at line 466 of file stream.cpp.

◆ display_name

std::string stream::session_t::display_name

Definition at line 465 of file stream.cpp.

◆ do_cmds

std::list<crypto::command_entry_t> stream::session_t::do_cmds

Definition at line 469 of file stream.cpp.

◆ input

std::shared_ptr<input::input_t> stream::session_t::input

Definition at line 389 of file stream.cpp.

◆ isolated_runtime_id

std::string stream::session_t::isolated_runtime_id

Definition at line 462 of file stream.cpp.

◆ isolated_runtime_owner_id

std::uint32_t stream::session_t::isolated_runtime_owner_id {}

Definition at line 458 of file stream.cpp.

◆ isolated_seat_id

std::string stream::session_t::isolated_seat_id

Definition at line 463 of file stream.cpp.

◆ isolated_session

bool stream::session_t::isolated_session {false}

Definition at line 461 of file stream.cpp.

◆ launch_session_id

std::uint32_t stream::session_t::launch_session_id

Definition at line 457 of file stream.cpp.

◆ localAddress

boost::asio::ip::address stream::session_t::localAddress

Definition at line 398 of file stream.cpp.

◆ mail

safe::mail_t stream::session_t::mail

Definition at line 387 of file stream.cpp.

◆ permission

crypto::PERM stream::session_t::permission

Definition at line 467 of file stream.cpp.

◆ pingTimeout

std::chrono::steady_clock::time_point stream::session_t::pingTimeout

Definition at line 394 of file stream.cpp.

◆ session_scoped_virtual_display

bool stream::session_t::session_scoped_virtual_display {false}

Definition at line 464 of file stream.cpp.

◆ shutdown_event

safe::mail_raw_t::event_t<bool> stream::session_t::shutdown_event

Definition at line 472 of file stream.cpp.

◆ state

std::atomic<session::state_e> stream::session_t::state

Definition at line 475 of file stream.cpp.

◆ termination_reason

std::atomic<session::termination_reason_e> stream::session_t::termination_reason {session::termination_reason_e::UNKNOWN}

Definition at line 476 of file stream.cpp.

◆ undo_cmds

std::list<crypto::command_entry_t> stream::session_t::undo_cmds

Definition at line 470 of file stream.cpp.

◆ video_loss

video_loss_monitor_t stream::session_t::video_loss

Video the client reported losing on the way to it.

Definition at line 484 of file stream.cpp.

◆ videoThread

std::thread stream::session_t::videoThread

Definition at line 392 of file stream.cpp.


The documentation for this struct was generated from the following file: