Increase default FEC percentage to match GFE
Also increase the range to the maximum of 255
This commit is contained in:
@@ -83,12 +83,12 @@
|
|||||||
# The file where configuration for the different applications that Sunshine can run during a stream
|
# The file where configuration for the different applications that Sunshine can run during a stream
|
||||||
# file_apps = apps.json
|
# file_apps = apps.json
|
||||||
|
|
||||||
# How much error correcting packets must be send for every video
|
# Percentage of error correcting packets per data packet in each video frame
|
||||||
# This is just some random number, don't know the optimal value
|
# Higher values can correct for more network packet loss, but at the cost of increasing bandwidth usage
|
||||||
# The higher fec_percentage, the lower space for the actual data to send per frame there is
|
# The default value of 20 is what GeForce Experience uses
|
||||||
#
|
#
|
||||||
# The value must be greater than 0 and lower than or equal to 100
|
# The value must be greater than 0 and lower than or equal to 255
|
||||||
# fec_percentage = 10
|
# fec_percentage = 20
|
||||||
|
|
||||||
# When multicasting, it could be usefull to have different configurations for each connected Client.
|
# When multicasting, it could be usefull to have different configurations for each connected Client.
|
||||||
# For example:
|
# For example:
|
||||||
|
|||||||
@@ -317,12 +317,12 @@
|
|||||||
<!--FEC Percentage-->
|
<!--FEC Percentage-->
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="fec_percentage" class="form-label">FEC Percentage</label>
|
<label for="fec_percentage" class="form-label">FEC Percentage</label>
|
||||||
<input type="text" class="form-control" id="fec_percentage" placeholder="10"
|
<input type="text" class="form-control" id="fec_percentage" placeholder="20"
|
||||||
v-model="config.fec_percentage">
|
v-model="config.fec_percentage">
|
||||||
<div class="form-text">
|
<div class="form-text">
|
||||||
How much error correcting packets must be send for every video.<br>
|
Percentage of error correcting packets per data packet in each video frame.<br>
|
||||||
This is just some random number, don't know the optimal value.<br>
|
Higher values can correct for more network packet loss, but at the cost of increasing bandwidth usage.<br>
|
||||||
The higher fec_percentage, the lower space for the actual data to send per frame there is
|
The default value of 20 is what GeForce Experience uses.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!--Channels-->
|
<!--Channels-->
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ stream_t stream {
|
|||||||
|
|
||||||
APPS_JSON_PATH,
|
APPS_JSON_PATH,
|
||||||
|
|
||||||
10, // fecPercentage
|
20, // fecPercentage
|
||||||
1 // channels
|
1 // channels
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -624,7 +624,7 @@ void apply_config(std::unordered_map<std::string, std::string> &&vars) {
|
|||||||
int_between_f(vars, "channels", stream.channels, { 1, std::numeric_limits<int>::max() });
|
int_between_f(vars, "channels", stream.channels, { 1, std::numeric_limits<int>::max() });
|
||||||
|
|
||||||
path_f(vars, "file_apps", stream.file_apps);
|
path_f(vars, "file_apps", stream.file_apps);
|
||||||
int_between_f(vars, "fec_percentage", stream.fec_percentage, { 1, 100 });
|
int_between_f(vars, "fec_percentage", stream.fec_percentage, { 1, 255 });
|
||||||
|
|
||||||
to = std::numeric_limits<int>::min();
|
to = std::numeric_limits<int>::min();
|
||||||
int_f(vars, "back_button_timeout", to);
|
int_f(vars, "back_button_timeout", to);
|
||||||
|
|||||||
Reference in New Issue
Block a user