Skip to content

Commit

Permalink
patch from pjokinen to increase the default transfer chunk size
Browse files Browse the repository at this point in the history
Improves transfer throughput for networks with high latency.
  • Loading branch information
janbar committed Jan 4, 2024
1 parent 5afee7a commit 3c5a979
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/cppmyth/src/mythlivetvplayback.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@

#include <vector>

#define MYTH_LIVETV_CHUNK_SIZE 64000
#define MYTH_LIVETV_CHUNK_SIZE 256000
#define MYTH_LIVETV_CHUNK_MIN 8000
#define MYTH_LIVETV_CHUNK_MAX 128000
#define MYTH_LIVETV_CHUNK_MAX 1024000

namespace Myth
{
Expand Down
4 changes: 2 additions & 2 deletions lib/cppmyth/src/mythrecordingplayback.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
#include "mythstream.h"
#include "mytheventhandler.h"

#define MYTH_RECORDING_CHUNK_SIZE 64000
#define MYTH_RECORDING_CHUNK_SIZE 256000
#define MYTH_RECORDING_CHUNK_MIN 8000
#define MYTH_RECORDING_CHUNK_MAX 128000
#define MYTH_RECORDING_CHUNK_MAX 1024000

namespace Myth
{
Expand Down
2 changes: 1 addition & 1 deletion lib/cppmyth/src/proto/mythprototransfer.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include "mythprotobase.h"

#define PROTO_TRANSFER_RCVBUF 64000
#define PROTO_TRANSFER_RCVBUF 256000

namespace Myth
{
Expand Down

0 comments on commit 3c5a979

Please sign in to comment.