mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-14 19:56:06 +00:00
Implement AV1 codec support
This has a breaking change to StreamConfiguration that requires client updates.
This commit is contained in:
@@ -288,7 +288,7 @@ int LiStartConnection(PSERVER_INFORMATION serverInfo, PSTREAM_CONFIGURATION stre
|
||||
}
|
||||
|
||||
// Dimensions over 4096 are only supported with HEVC on NVENC
|
||||
if (!StreamConfig.supportsHevc &&
|
||||
if (!(StreamConfig.supportedVideoFormats & ~VIDEO_FORMAT_MASK_H264) &&
|
||||
(StreamConfig.width > 4096 || StreamConfig.height > 4096)) {
|
||||
Limelog("WARNING: Streaming at resolutions above 4K using H.264 will likely fail! Trying anyway!\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user