From dbe01a17d2727e0859c75109f660e22298b99eb5 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 25 Mar 2015 00:31:30 -0400 Subject: [PATCH] Enable slicing again on GFE 2.4 to reduce latency on Qualcomm devices --- .../src/com/limelight/nvstream/rtsp/SdpGenerator.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/moonlight-common/src/com/limelight/nvstream/rtsp/SdpGenerator.java b/moonlight-common/src/com/limelight/nvstream/rtsp/SdpGenerator.java index 63c3f0b1..44e15289 100644 --- a/moonlight-common/src/com/limelight/nvstream/rtsp/SdpGenerator.java +++ b/moonlight-common/src/com/limelight/nvstream/rtsp/SdpGenerator.java @@ -55,6 +55,9 @@ public class SdpGenerator { addSessionAttribute(config, "x-nv-video[0].rateControlMode", "4"); + // Use slicing for increased performance on some decoders + addSessionAttribute(config, "x-nv-video[0].videoEncoderSlicesPerFrame", "4"); + addSessionAttribute(config, "x-nv-vqos[0].bw.flags", "51"); }