Default stream redundancy to zero on Android and desktop
This commit is contained in:
1 parent
ef58c01cce
commit
1b6f41e8fa
8 files changed
+29
-23
No files matched your search
@@ -36,7 +36,7 @@ struct chat_setting_def {
|
||||
|
||||
static const struct chat_setting_def g_setting_defs[] = {
|
||||
{"stream_subblocks", CHAT_SETTING_INT, 8, 1, 255},
|
||||
{"stream_rs_redundant", CHAT_SETTING_INT, 2, 0, 254},
|
||||
{"stream_rs_redundant", CHAT_SETTING_INT, 0, 0, 254},
|
||||
{"storage_autoload", CHAT_SETTING_BOOL, 1, 0, 1},
|
||||
{"opus_codec_preset", CHAT_SETTING_INT, 1, 0, 4},
|
||||
{"radio_opus_mode", CHAT_SETTING_INT, 0, 0, 1},
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#define STREAM_BLOCK_DEFAULT_SIZE 1300
|
||||
#define STREAM_RS_DEFAULT_SIZE (STREAM_BLOCK_DEFAULT_SIZE - STREAM_BLOCK_OVERHEAD)
|
||||
#define STREAM_DEFAULT_N 8
|
||||
#define STREAM_DEFAULT_R 2
|
||||
#define STREAM_DEFAULT_R 0
|
||||
#define STREAM_DEFAULT_INPUT_CAPACITY \
|
||||
((STREAM_DEFAULT_N - STREAM_DEFAULT_R) * (STREAM_RS_DEFAULT_SIZE - RS_HEADER_SIZE) - STREAM_BATCH_OVERHEAD)
|
||||
#define STREAM_BLOCK_MAX_SIZE (RS_MAX_BLOCK_SIZE + STREAM_BLOCK_OVERHEAD)
|
||||
|
||||
Reference in new issue
Block a user