Avoid audio encryption on Steam Link for performance reasons
This commit is contained in:
parent
140a9e5191
commit
e62a268aac
1 changed files with 6 additions and 1 deletions
|
|
@ -427,7 +427,12 @@ bool Session::initialize()
|
|||
m_StreamConfig.fps = m_Preferences->fps;
|
||||
m_StreamConfig.bitrate = m_Preferences->bitrateKbps;
|
||||
m_StreamConfig.hevcBitratePercentageMultiplier = 75;
|
||||
m_StreamConfig.encryptionFlags = ENCFLG_ALL;
|
||||
|
||||
#ifndef STEAM_LINK
|
||||
// Enable audio encryption as long as we're not on Steam Link.
|
||||
// That hardware can hardly handle Opus decoding at all.
|
||||
m_StreamConfig.encryptionFlags = ENCFLG_AUDIO;
|
||||
#endif
|
||||
|
||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
|
||||
"Video bitrate: %d kbps",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue