mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-21 20:13:06 +00:00
Disable FEC to remove padding from the video stream
This commit is contained in:
parent
35a50209be
commit
52f81274f0
@ -100,12 +100,11 @@ public class SdpGenerator {
|
||||
|
||||
addSessionAttribute(config, "x-nv-vqos[0].bw.maximumBitrate", ""+sc.getBitrate());
|
||||
|
||||
// Since we can only deal with FEC data on a 1 packet frame,
|
||||
// restrict FEC repair percentage to minimum so we get only 1
|
||||
// FEC packet per frame
|
||||
addSessionAttribute(config, "x-nv-vqos[0].fec.repairPercent", "1");
|
||||
addSessionAttribute(config, "x-nv-vqos[0].fec.repairMaxPercent", "1");
|
||||
addSessionAttribute(config, "x-nv-vqos[0].fec.repairMinPercent", "1");
|
||||
// Using FEC turns padding on which makes us have to take the slow path
|
||||
// in the depacketizer, not to mention exposing some ambiguous cases with
|
||||
// distinguishing padding from valid sequences. Since we can only perform
|
||||
// execute an FEC recovery on a 1 packet frame, we'll just turn it off completely.
|
||||
addSessionAttribute(config, "x-nv-vqos[0].fec.enable", "0");
|
||||
|
||||
addSessionAttribute(config, "x-nv-vqos[0].videoQualityScoreUpdateTime", "5000");
|
||||
addSessionAttribute(config, "x-nv-vqos[0].qosTrafficType", "5");
|
||||
|
Loading…
x
Reference in New Issue
Block a user