Sunshine master
Self-hosted game stream host for Moonlight.
stream::broadcast_ctx_t Struct Reference

UDP broadcast socket and target address state. More...

Collaboration diagram for stream::broadcast_ctx_t:
[legend]

Public Attributes

udp::socket audio_sock {io_context}
 UDP socket bound for audio packet transmission.
 
std::thread audio_thread
 Thread that sends encoded audio packets.
 
control_server_t control_server
 ENet server for GameStream control packets.
 
std::thread control_thread
 Thread that runs the ENet control server.
 
asio::io_context io_context
 Asio context used by the UDP broadcast sockets.
 
message_queue_queue_t message_queue_queue
 Queues carrying encoded video and audio packets to sender threads.
 
std::thread recv_thread
 Thread that receives incoming control-channel messages.
 
udp::socket video_sock {io_context}
 UDP socket bound for video packet transmission.
 
std::thread video_thread
 Thread that sends encoded video packets.
 

Detailed Description

UDP broadcast socket and target address state.


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