Sunshine v2025.628.4510
Self-hosted game stream host for Moonlight.
stream::session_t Struct Reference
Collaboration diagram for stream::session_t:
[legend]

Public Attributes

struct { 
 
   std::uint32_t   avRiKeyId 
 
   crypto::cipher::cbc_t   cipher 
 
   audio_fec_packet_t   fec_packet 
 
   udp::endpoint   peer 
 
   std::string   ping_payload 
 
   std::unique_ptr< platf::deinit_t >   qos 
 
   std::uint16_t   sequenceNumber 
 
   util::buffer_t< char >   shards 
 
   util::buffer_t< uint8_t * >   shards_p 
 
   std::uint32_t   timestamp 
 
audio 
 
std::thread audioThread
 
safe::shared_t< broadcast_ctx_t >::ptr_t broadcast_ref
 
config_t config
 
struct { 
 
   crypto::cipher::gcm_t   cipher 
 
   std::uint32_t   connect_data 
 
   std::string   expected_peer_address 
 
   platf::feedback_queue_t   feedback_queue 
 
   safe::mail_raw_t::event_t< video::hdr_info_t >   hdr_queue 
 
   crypto::aes_t   incoming_iv 
 
   crypto::aes_t   legacy_input_enc_iv 
 
   crypto::aes_t   outgoing_iv 
 
   net::peer_t   peer 
 
   std::uint32_t   seq 
 
control 
 
safe::signal_t controlEnd
 
std::shared_ptr< input::input_tinput
 
std::uint32_t launch_session_id
 
boost::asio::ip::address localAddress
 
safe::mail_t mail
 
std::chrono::steady_clock::time_point pingTimeout
 
safe::mail_raw_t::event_t< bool > shutdown_event
 
std::atomic< session::state_estate
 
struct { 
 
   std::optional< crypto::cipher::gcm_t >   cipher 
 
   std::uint64_t   gcm_iv_counter 
 
   safe::mail_raw_t::event_t< bool >   idr_events 
 
   safe::mail_raw_t::event_t< std::pair< int64_t, int64_t > >   invalidate_ref_frames_events 
 
   int   lowseq 
 
   udp::endpoint   peer 
 
   std::string   ping_payload 
 
   std::unique_ptr< platf::deinit_t >   qos 
 
video 
 
std::thread videoThread
 

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