mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-02-16 02:30:56 +00:00
Update moonlight-common-c
This commit is contained in:
2
main.cpp
2
main.cpp
@@ -131,6 +131,7 @@ void* MoonlightInstance::ConnectionThreadFunc(void* context) {
|
|||||||
serverInfo.serverInfoAppVersion = me->m_AppVersion.c_str();
|
serverInfo.serverInfoAppVersion = me->m_AppVersion.c_str();
|
||||||
serverInfo.serverInfoGfeVersion = me->m_GfeVersion.c_str();
|
serverInfo.serverInfoGfeVersion = me->m_GfeVersion.c_str();
|
||||||
serverInfo.rtspSessionUrl = me->m_RtspUrl.c_str();
|
serverInfo.rtspSessionUrl = me->m_RtspUrl.c_str();
|
||||||
|
serverInfo.serverCodecModeSupport = SCM_H264;
|
||||||
|
|
||||||
err = LiStartConnection(&serverInfo,
|
err = LiStartConnection(&serverInfo,
|
||||||
&me->m_StreamConfig,
|
&me->m_StreamConfig,
|
||||||
@@ -238,6 +239,7 @@ void MoonlightInstance::HandleStartStream(int32_t callbackId, pp::VarArray args)
|
|||||||
m_StreamConfig.audioConfiguration = AUDIO_CONFIGURATION_STEREO;
|
m_StreamConfig.audioConfiguration = AUDIO_CONFIGURATION_STEREO;
|
||||||
m_StreamConfig.streamingRemotely = STREAM_CFG_AUTO;
|
m_StreamConfig.streamingRemotely = STREAM_CFG_AUTO;
|
||||||
m_StreamConfig.packetSize = 1392;
|
m_StreamConfig.packetSize = 1392;
|
||||||
|
m_StreamConfig.supportedVideoFormats = VIDEO_FORMAT_H264;
|
||||||
|
|
||||||
// TODO: If/when video encryption is added, we'll probably want to
|
// TODO: If/when video encryption is added, we'll probably want to
|
||||||
// limit that to devices that support AES instructions.
|
// limit that to devices that support AES instructions.
|
||||||
|
|||||||
Submodule moonlight-common-c updated: 50c0a51b10...b2528faa02
Reference in New Issue
Block a user