mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-22 16:17:27 +00:00
Prevent network degradation from changing stream resolution
This commit is contained in:
1 parent
97e62fdd34
commit
cbe40fde92
1 file changed
+4
@@ -108,6 +108,10 @@ public class SdpGenerator {
|
||||
|
||||
addSessionAttribute(config, "x-nv-vqos[0].bw.maximumBitrate", ""+sc.getBitrate());
|
||||
|
||||
// Prevent resolution changes due to network degradation
|
||||
addSessionAttribute(config, "x-nv-vqos[0].bw.earlyDetectionLowerBoundWidth", ""+sc.getWidth());
|
||||
addSessionAttribute(config, "x-nv-vqos[0].bw.earlyDetectionLowerBoundHeight", ""+sc.getHeight());
|
||||
|
||||
addSessionAttribute(config, "x-nv-vqos[0].videoQualityScoreUpdateTime", "5000");
|
||||
addSessionAttribute(config, "x-nv-vqos[0].qosTrafficType", "7");
|
||||
addSessionAttribute(config, "x-nv-aqos.qosTrafficType", "8");
|
||||
|
||||
Reference in new issue
Block a user