mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 00:26:56 +00:00
Update moonlight-common-c
This commit is contained in:
parent
6a4caeacac
commit
dbe0a54469
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.
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 50c0a51b10ecc5b3415ea78c21d96d679e2288f9
|
Subproject commit b2528faa029f6164c49360f60dca3908249c59cd
|
Loading…
x
Reference in New Issue
Block a user