mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-06-19 07:10:58 +00:00
Revert the DU_LIMIT changes due to variance in platform audio rendering speed
This commit is contained in:
@@ -7,7 +7,7 @@ import com.limelight.nvstream.av.RtpPacket;
|
|||||||
|
|
||||||
public class AudioDepacketizer {
|
public class AudioDepacketizer {
|
||||||
|
|
||||||
private static final int DU_LIMIT = 5;
|
private static final int DU_LIMIT = 15;
|
||||||
private LinkedBlockingQueue<ByteBufferDescriptor> decodedUnits =
|
private LinkedBlockingQueue<ByteBufferDescriptor> decodedUnits =
|
||||||
new LinkedBlockingQueue<ByteBufferDescriptor>(DU_LIMIT);
|
new LinkedBlockingQueue<ByteBufferDescriptor>(DU_LIMIT);
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ public class VideoDepacketizer {
|
|||||||
|
|
||||||
private ConnectionStatusListener controlListener;
|
private ConnectionStatusListener controlListener;
|
||||||
|
|
||||||
private static final int DU_LIMIT = 5;
|
private static final int DU_LIMIT = 15;
|
||||||
private LinkedBlockingQueue<DecodeUnit> decodedUnits = new LinkedBlockingQueue<DecodeUnit>(DU_LIMIT);
|
private LinkedBlockingQueue<DecodeUnit> decodedUnits = new LinkedBlockingQueue<DecodeUnit>(DU_LIMIT);
|
||||||
|
|
||||||
public VideoDepacketizer(ConnectionStatusListener controlListener)
|
public VideoDepacketizer(ConnectionStatusListener controlListener)
|
||||||
|
|||||||
Reference in New Issue
Block a user