From dbe0a54469dde0f40b3918c4ac81685647402c3d Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 16 Sep 2023 01:11:50 -0500 Subject: [PATCH] Update moonlight-common-c --- main.cpp | 2 ++ moonlight-common-c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 8dd7ed5..3e0f89d 100644 --- a/main.cpp +++ b/main.cpp @@ -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. diff --git a/moonlight-common-c b/moonlight-common-c index 50c0a51..b2528fa 160000 --- a/moonlight-common-c +++ b/moonlight-common-c @@ -1 +1 @@ -Subproject commit 50c0a51b10ecc5b3415ea78c21d96d679e2288f9 +Subproject commit b2528faa029f6164c49360f60dca3908249c59cd