MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / Dump

Method Dump

src/render/settings/rd_settings.cpp:105–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 }
104
105 std::string RdSettings::Dump() {
106 std::stringstream ss;
107 ss << "Description: \n";
108 ss << " - author: " << desc_.author_ << std::endl;
109 ss << " - version: " << desc_.version_ << std::endl;
110 ss << "Encoder: \n";
111 ss << " - encoder format: " << encoder_.encoder_format_ << " (0 => H264, 1 => HEVC)" << std::endl;
112 ss << " - bitrate: " << encoder_.bitrate_ << std::endl;
113 ss << " - encode resolution type: " << (int)encoder_.encode_res_type_ << " (0 => origin, 1=> specify) " << std::endl;
114 ss << " - encode fps: " << encoder_.fps_ << std::endl;
115 ss << " - encode width: " << encoder_.encode_width_ << ", height: " << encoder_.encode_height_ << std::endl;
116 ss << "Capture: \n";
117 ss << " - enable audio: " << capture_.enable_audio_ << std::endl;
118 ss << " - capture audio type: " << capture_.capture_audio_type_ << " (0 => Hook, 1 => Global) " << std::endl;
119 ss << " - enable audio: " << capture_.enable_video_ << std::endl;
120 ss << " - capture video type: " << capture_.capture_video_type_ << " (0 => Hook 1 => Primary Screen) " << std::endl;
121 ss << "Transmission: \n";
122 ss << " - listening port: " << transmission_.listening_port_ << std::endl;
123 ss << "RdApplication: \n";
124 ss << " - game path: " << app_.game_path_ << std::endl;
125 ss << " - game arguments: " << app_.game_arguments_ << std::endl;
126 ss << " - steam app:" << std::endl;
127 ss << " - app id: " << app_.steam_app_.app_id_ << std::endl;
128 ss << " - steam url: " << app_.steam_app_.steam_url_ << std::endl;
129 ss << " - hide after started: " << app_.hide_after_started_ << std::endl;
130 ss << " - force fullscreen: " << app_.force_fullscreen_ << std::endl;
131 ss << " - event relay mode: " << app_.event_replay_mode_ << std::endl;
132 return ss.str();
133 }
134
135
136 void RdSettings::LoadSettingsFromDatabase() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected