From 2d66c6fb53b0ea5bfc53db403b5f761b074a4ef9 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 19 Jul 2014 18:07:16 -0700 Subject: [PATCH] Let the bitrate scale from 1Mb to the maximum --- .../src/com/limelight/nvstream/rtsp/SdpGenerator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moonlight-common/src/com/limelight/nvstream/rtsp/SdpGenerator.java b/moonlight-common/src/com/limelight/nvstream/rtsp/SdpGenerator.java index 4ba1b6e4..764c33b2 100644 --- a/moonlight-common/src/com/limelight/nvstream/rtsp/SdpGenerator.java +++ b/moonlight-common/src/com/limelight/nvstream/rtsp/SdpGenerator.java @@ -159,9 +159,9 @@ public class SdpGenerator { addSessionAttribute(config, "x-nv-vqos[0].ts.maximumBitrate", "10"); addSessionAttribute(config, "x-nv-vqos[0].bw.flags", "819"); // Bit 2 being set causes picture problems (should be 823) - // We clamp to min = max so manual bitrate settings take effect without time to scale up + // Clamp the bitrate from 1Mb to the maximum addSessionAttribute(config, "x-nv-vqos[0].bw.maximumBitrate", ""+sc.getBitrate()); - addSessionAttribute(config, "x-nv-vqos[0].bw.minimumBitrate", ""+sc.getBitrate()); + addSessionAttribute(config, "x-nv-vqos[0].bw.minimumBitrate", "1000"); addSessionAttribute(config, "x-nv-vqos[0].bw.statsTime", "50"); addSessionAttribute(config, "x-nv-vqos[0].bw.zeroLossCount", "3000");