Sunshine0.0.5917
Sunshine 0.0.5917
Self-hosted game stream host for Moonlight.
Loading...
Searching...
No Matches
stream::broadcast_ctx_t Struct Reference

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

Collaboration diagram for stream::broadcast_ctx_t:

Public Attributes

udp::socket audio_sock {io_context}
 UDP socket bound for audio packet transmission.
std::jthread audio_thread
 Thread that sends encoded audio packets.
control_server_t control_server
 ENet server for GameStream control packets.
std::jthread 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::jthread recv_thread
 Thread that receives incoming control-channel messages.
udp::socket video_sock {io_context}
 UDP socket bound for video packet transmission.
std::jthread 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: