11#include <boost/asio.hpp>
70 int start(
session_t &session,
const std::string &addr_string);
96 const std::string &client_cert(
session_t &session);
Declarations for audio capture and encoding.
stream_t stream
Default stream configuration values used before file and CLI overrides.
Definition config.cpp:715
Declarations for cryptography functions.
constexpr auto CONTROL_PORT
GameStream base-port offset used for the control channel.
Definition stream.h:20
state_e
Enumerates supported state options.
Definition stream.h:48
@ STARTING
The session is starting.
@ STOPPED
The session is stopped.
@ RUNNING
The session is running.
@ STOPPING
The session is stopping.
constexpr auto VIDEO_STREAM_PORT
GameStream base-port offset used for the video UDP stream.
Definition stream.h:19
constexpr auto AUDIO_STREAM_PORT
GameStream base-port offset used for the audio UDP stream.
Definition stream.h:21
Audio capture and encoder settings for a stream.
Definition audio.h:55
RTSP launch session state shared with stream setup.
Definition rtsp.h:20
Stream configuration shared by capture and network senders.
Definition stream.h:28
uint32_t encryptionFlagsEnabled
Bitmask of GameStream encryption features enabled for the session.
Definition stream.h:39
int packetsize
Maximum payload size for network packets.
Definition stream.h:32
int controlProtocolType
GameStream control protocol variant selected by the client.
Definition stream.h:35
std::optional< int > gcmap
Optional game-controller mapping override from the launch request.
Definition stream.h:41
int videoQosType
Video QoS type.
Definition stream.h:37
int minRequiredFecPackets
Minimum recovery packets required before FEC is emitted.
Definition stream.h:33
video::config_t monitor
Video capture and encoder configuration for the selected monitor.
Definition stream.h:30
audio::config_t audio
Audio capture configuration for the stream.
Definition stream.h:29
int audioQosType
Audio QoS type.
Definition stream.h:36
int mlFeatureFlags
Moonlight feature flags negotiated for this session.
Definition stream.h:34
Runtime state for one audio/video streaming session.
Definition stream.cpp:473
Encoding configuration requested by a remote client.
Definition video.h:28