@@ -1729,7 +1729,7 @@ static const std::vector<OptionDefinition> OPTION_DEFINITIONS = {
|
|||||||
"Value must be between 0 (poor quality) and 100 (best quality), inclusive. Default: 70.",
|
"Value must be between 0 (poor quality) and 100 (best quality), inclusive. Default: 70.",
|
||||||
.type = OptionType::Integer,
|
.type = OptionType::Integer,
|
||||||
.setting_name = "(0-100)",
|
.setting_name = "(0-100)",
|
||||||
.category = "Companion & API",
|
.category = "API Dev",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// APIScreenMirrorDivide
|
// APIScreenMirrorDivide
|
||||||
@@ -1741,21 +1741,17 @@ static const std::vector<OptionDefinition> OPTION_DEFINITIONS = {
|
|||||||
"Value must be 1 or greater. Default: 1.",
|
"Value must be 1 or greater. Default: 1.",
|
||||||
.type = OptionType::Integer,
|
.type = OptionType::Integer,
|
||||||
.setting_name = "1",
|
.setting_name = "1",
|
||||||
.category = "Companion & API",
|
.category = "API Dev",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// APIStreamEnable
|
// APIStreamEnable
|
||||||
.title = "API Video Stream Server Enable (EXPERIMENTAL)",
|
.title = "API Video Stream Server Enable (EXPERIMENTAL)",
|
||||||
.name = "apistream",
|
.name = "apistream",
|
||||||
.desc = "Serves the mirrored screen as a video stream, on the API port plus two; "
|
.desc = "Allows companion apps to receive compressed video streams over the API. "
|
||||||
"alternative to API screen capture. Requires -api.\n\n"
|
"Companion app must support this feature to take advantage of it.\n\n"
|
||||||
"http://host:apiport+2/stream.mjpg - MJPEG\n\n"
|
"Video is served unencrypted over the network. "
|
||||||
"http://host:apiport+2/stream.h264 - H.264\n\n"
|
"May cause older games to hang and crash.\n\n"
|
||||||
"Parameters: screen (0-3), fps (1-60, default 30), q (1-100, default 70).\n\n"
|
"Developers: see the wiki page for more details.",
|
||||||
"Example with -api 1337: http://host:1339/stream.h264?fps=30&q=70\n\n"
|
|
||||||
"VIEW ONLY - touch input still requires -api. "
|
|
||||||
"No password protection or encryption of any kind; video sent in the clear!\n\n"
|
|
||||||
"Streaming is known to cause older games to hang and crash.",
|
|
||||||
.type = OptionType::Bool,
|
.type = OptionType::Bool,
|
||||||
.category = "Companion & API",
|
.category = "Companion & API",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user