Update moonlight-common-c

This commit is contained in:
Cameron Gutman 2023-09-16 01:11:50 -05:00
parent 6a4caeacac
commit dbe0a54469
2 changed files with 3 additions and 1 deletions

View File

@ -131,6 +131,7 @@ void* MoonlightInstance::ConnectionThreadFunc(void* context) {
serverInfo.serverInfoAppVersion = me->m_AppVersion.c_str();
serverInfo.serverInfoGfeVersion = me->m_GfeVersion.c_str();
serverInfo.rtspSessionUrl = me->m_RtspUrl.c_str();
serverInfo.serverCodecModeSupport = SCM_H264;
err = LiStartConnection(&serverInfo,
&me->m_StreamConfig,
@ -238,6 +239,7 @@ void MoonlightInstance::HandleStartStream(int32_t callbackId, pp::VarArray args)
m_StreamConfig.audioConfiguration = AUDIO_CONFIGURATION_STEREO;
m_StreamConfig.streamingRemotely = STREAM_CFG_AUTO;
m_StreamConfig.packetSize = 1392;
m_StreamConfig.supportedVideoFormats = VIDEO_FORMAT_H264;
// TODO: If/when video encryption is added, we'll probably want to
// limit that to devices that support AES instructions.

@ -1 +1 @@
Subproject commit 50c0a51b10ecc5b3415ea78c21d96d679e2288f9
Subproject commit b2528faa029f6164c49360f60dca3908249c59cd