mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
Enable audio encryption
This commit is contained in:
parent
7f11ab3d84
commit
04fbabc0f2
4
main.cpp
4
main.cpp
@ -232,6 +232,10 @@ void MoonlightInstance::HandleStartStream(int32_t callbackId, pp::VarArray args)
|
|||||||
m_StreamConfig.streamingRemotely = STREAM_CFG_AUTO;
|
m_StreamConfig.streamingRemotely = STREAM_CFG_AUTO;
|
||||||
m_StreamConfig.packetSize = 1392;
|
m_StreamConfig.packetSize = 1392;
|
||||||
|
|
||||||
|
// TODO: If/when video encryption is added, we'll probably want to
|
||||||
|
// limit that to devices that support AES instructions.
|
||||||
|
m_StreamConfig.encryptionFlags = ENCFLG_AUDIO;
|
||||||
|
|
||||||
// Load the rikey and rikeyid into the stream configuration
|
// Load the rikey and rikeyid into the stream configuration
|
||||||
hexStringToBytes(rikey.c_str(), m_StreamConfig.remoteInputAesKey);
|
hexStringToBytes(rikey.c_str(), m_StreamConfig.remoteInputAesKey);
|
||||||
int rikeyiv = htonl(stoi(rikeyid));
|
int rikeyiv = htonl(stoi(rikeyid));
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 221af8295064b24222dee7a42fff179e89ec9a0f
|
Subproject commit 13041e0323685ff1b2ccade347cb1de850286d23
|
Loading…
x
Reference in New Issue
Block a user