mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 01:15:46 +00:00
Always use DSCP marking for our AV traffic
This commit is contained in:
parent
3dd9a9f1b1
commit
b0213d06a7
@ -252,14 +252,9 @@ static PSDP_OPTION getAttributesList(char*urlSafeAddr) {
|
||||
|
||||
err |= addAttributeString(&optionHead, "x-nv-vqos[0].videoQualityScoreUpdateTime", "5000");
|
||||
|
||||
if (StreamConfig.streamingRemotely == STREAM_CFG_REMOTE) {
|
||||
err |= addAttributeString(&optionHead, "x-nv-vqos[0].qosTrafficType", "0");
|
||||
err |= addAttributeString(&optionHead, "x-nv-aqos.qosTrafficType", "0");
|
||||
}
|
||||
else {
|
||||
// Enable DSCP marking to hopefully increase QoS priority
|
||||
err |= addAttributeString(&optionHead, "x-nv-vqos[0].qosTrafficType", "5");
|
||||
err |= addAttributeString(&optionHead, "x-nv-aqos.qosTrafficType", "4");
|
||||
}
|
||||
|
||||
if (AppVersionQuad[0] == 3) {
|
||||
err |= addGen3Options(&optionHead, urlSafeAddr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user