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

RTSP launch session state shared with stream setup. More...

#include <src/rtsp.h>

Public Attributes

int appid
 Application ID requested for launch or resume.
 
std::string av_ping_payload
 AV ping payload.
 
std::string client_cert
 PEM certificate for the paired Moonlight client.
 
bool continuous_audio
 Whether audio packets continue during silence.
 
uint32_t control_connect_data
 Client-provided token used when connecting the control channel.
 
bool enable_hdr
 Whether HDR streaming is requested.
 
bool enable_sops
 Whether sequence output protection is requested.
 
int fps
 Requested video frame rate.
 
crypto::aes_t gcm_key
 AES-GCM key negotiated for encrypted RTSP messages.
 
int gcmap
 Game controller mapping requested by the client.
 
int height
 Frame or display height in pixels.
 
bool host_audio
 Whether host audio should be played locally.
 
uint32_t id
 RTSP launch-session identifier assigned before stream startup.
 
crypto::aes_t iv
 Initial RTSP AES-GCM IV supplied by the client.
 
std::optional< crypto::cipher::gcm_trtsp_cipher
 AES-GCM cipher used once encrypted RTSP is negotiated.
 
uint32_t rtsp_iv_counter
 Counter value mixed into encrypted RTSP IVs.
 
std::string rtsp_url_scheme
 URL scheme selected by the RTSP SETUP flow.
 
int surround_info
 Encoded GameStream surround-sound capability flags.
 
std::string surround_params
 Client-provided surround-sound layout parameters.
 
std::string unique_id
 Moonlight client unique identifier for this launch request.
 
int width
 Frame or display width in pixels.
 

Detailed Description

RTSP launch session state shared with stream setup.


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