Closed jlucidar closed 3 years ago
As discussed in #16 and #43, performance of the streaming is not consistent across all device.
Having a way to choose different performance presets in the settings would help people find the right balance between latency and stability.
Here is the preset list I think might be relevant :
default
MAX_SYNC_FRAME_SIZE = 131072 sampleTime = 10000 minBufferMs = 500 maxBufferMs = 2000 bufferForPlaybackMs = 17 bufferForPlaybackAfterRebufferMs = 17
conservative
MAX_SYNC_FRAME_SIZE = 131072 sampleTime = 14000 minBufferMs = 500 maxBufferMs = 2000 bufferForPlaybackMs = 34 bufferForPlaybackAfterRebufferMs = 34
aggressive
MAX_SYNC_FRAME_SIZE = 131072 sampleTime = 9000 minBufferMs = 500 maxBufferMs = 2000 bufferForPlaybackMs = 10 bufferForPlaybackAfterRebufferMs = 10
legacy (might need to reimplement circular buffering to work)
MAX_SYNC_FRAME_SIZE = 30720 sampleTime = 200 minBufferMs = 32768 maxBufferMs = 65536 bufferForPlaybackMs = 0 bufferForPlaybackAfterRebufferMs = 0
It's been merged !
As discussed in #16 and #43, performance of the streaming is not consistent across all device.
Having a way to choose different performance presets in the settings would help people find the right balance between latency and stability.
Here is the preset list I think might be relevant :
default
conservative
aggressive
legacy (might need to reimplement circular buffering to work)