mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-07-01 15:25:43 +00:00
Add LiGetExtraLaunchArgs()
The string returned from this function should be appended to the end of the /resume and /launch query parameters.
This commit is contained in:
parent
723cac034b
commit
15b55a441b
@ -520,3 +520,7 @@ Cleanup:
|
|||||||
}
|
}
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char* LiGetLaunchUrlQueryParameters() {
|
||||||
|
return "&corever=0";
|
||||||
|
}
|
||||||
|
@ -34,6 +34,12 @@ extern "C" {
|
|||||||
#define ENCFLG_AUDIO 0x00000001
|
#define ENCFLG_AUDIO 0x00000001
|
||||||
#define ENCFLG_ALL 0xFFFFFFFF
|
#define ENCFLG_ALL 0xFFFFFFFF
|
||||||
|
|
||||||
|
// This function returns a string that you SHOULD append to the /launch and /resume
|
||||||
|
// query parameter string. This is used to enable certain extended functionality
|
||||||
|
// with Sunshine hosts. The returned string is owned by moonlight-common-c and
|
||||||
|
// should not be freed by the caller.
|
||||||
|
const char* LiGetLaunchUrlQueryParameters(void);
|
||||||
|
|
||||||
typedef struct _STREAM_CONFIGURATION {
|
typedef struct _STREAM_CONFIGURATION {
|
||||||
// Dimensions in pixels of the desired video stream
|
// Dimensions in pixels of the desired video stream
|
||||||
int width;
|
int width;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user