projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4b8f21
)
sctp: increase DEFAULT_NUMBER_OF_SCTP_STREAMS to 1024
author
Fabio D'Urso
<fabio.durso@m2dtech.com>
Fri, 26 Apr 2019 14:25:17 +0000
(16:25 +0200)
committer
Fabio D'Urso
<fabio.durso@m2dtech.com>
Fri, 26 Apr 2019 14:31:49 +0000
(16:31 +0200)
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.
ext/sctp/sctpassociation.c
patch
|
blob
|
history
diff --git
a/ext/sctp/sctpassociation.c
b/ext/sctp/sctpassociation.c
index
23be55f
..
6344bab
100644
(file)
--- 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 10
24
#define DEFAULT_LOCAL_SCTP_PORT 0
#define DEFAULT_REMOTE_SCTP_PORT 0