summaryrefslogtreecommitdiff
path: root/ext/sctp
diff options
context:
space:
mode:
authorFabio D'Urso <fabio.durso@m2dtech.com>2019-04-26 16:25:17 +0200
committerFabio D'Urso <fabio.durso@m2dtech.com>2019-04-26 16:31:49 +0200
commitf53beb876c92916b4a1a89354f220d16d0653461 (patch)
treea1bddc38ae8bbd1f2edff8a0de6a2ba885b7d457 /ext/sctp
parente4b8f21a5a591c3977061dc5d5f1230395f7f04a (diff)
downloadgstreamer-plugins-bad-f53beb876c92916b4a1a89354f220d16d0653461.tar.gz
sctp: increase DEFAULT_NUMBER_OF_SCTP_STREAMS to 1024
This change makes it possible to create more than just 5 webrtc data channels. The maximum number of data channels is exactly DEFAULT_NUMBER_OF_SCTP_STREAMS / 2, therefore the limit is now 512.
Diffstat (limited to 'ext/sctp')
-rw-r--r--ext/sctp/sctpassociation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sctp/sctpassociation.c b/ext/sctp/sctpassociation.c
index 23be55fae..6344babcc 100644
--- a/ext/sctp/sctpassociation.c
+++ b/ext/sctp/sctpassociation.c
@@ -88,7 +88,7 @@ static guint signals[LAST_SIGNAL] = { 0 };
static GParamSpec *properties[NUM_PROPERTIES];
-#define DEFAULT_NUMBER_OF_SCTP_STREAMS 10
+#define DEFAULT_NUMBER_OF_SCTP_STREAMS 1024
#define DEFAULT_LOCAL_SCTP_PORT 0
#define DEFAULT_REMOTE_SCTP_PORT 0