Browse Source

Bump up Opus PLP to 30

pull/603/head
RogueException 8 years ago
parent
commit
483d26093b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.WebSocket/Audio/Opus/OpusEncoder.cs

+ 1
- 1
src/Discord.Net.WebSocket/Audio/Opus/OpusEncoder.cs View File

@@ -56,7 +56,7 @@ namespace Discord.Audio
if (result < 0) if (result < 0)
throw new Exception($"Opus Error: {(OpusError)result}"); throw new Exception($"Opus Error: {(OpusError)result}");


result = EncoderCtl(_ptr, OpusCtl.SetPacketLossPercent, 5); //%%
result = EncoderCtl(_ptr, OpusCtl.SetPacketLossPercent, 30); //%%
if (result < 0) if (result < 0)
throw new Exception($"Opus Error: {(OpusError)result}"); throw new Exception($"Opus Error: {(OpusError)result}");




Loading…
Cancel
Save