From 4a4f89a992de1f07e532a93b76a0663fac5813ac Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 12 Aug 2015 00:05:54 -0700 Subject: [PATCH] Revert the encoding bitrate hack --- .../src/com/limelight/nvstream/rtsp/SdpGenerator.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/moonlight-common/src/com/limelight/nvstream/rtsp/SdpGenerator.java b/moonlight-common/src/com/limelight/nvstream/rtsp/SdpGenerator.java index c718e709..72e98f48 100644 --- a/moonlight-common/src/com/limelight/nvstream/rtsp/SdpGenerator.java +++ b/moonlight-common/src/com/limelight/nvstream/rtsp/SdpGenerator.java @@ -83,10 +83,6 @@ public class SdpGenerator { addSessionAttribute(config, "x-nv-video[0].averageBitrate", "4"); addSessionAttribute(config, "x-nv-video[0].peakBitrate", "4"); } - else if (context.streamConfig.getBitrate() <= 13000) { - addSessionAttribute(config, "x-nv-video[0].averageBitrate", "9"); - addSessionAttribute(config, "x-nv-video[0].peakBitrate", "9"); - } addSessionAttribute(config, "x-nv-video[0].timeoutLengthMs", "7000"); addSessionAttribute(config, "x-nv-video[0].framesWithInvalidRefThreshold", "0");