From: Fabio D'Urso Date: Fri, 26 Apr 2019 14:25:17 +0000 (+0200) Subject: sctp: increase DEFAULT_NUMBER_OF_SCTP_STREAMS to 1024 X-Git-Tag: 1.19.3~507^2~3409 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f53beb876c92916b4a1a89354f220d16d0653461;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/ext/sctp/sctpassociation.c b/ext/sctp/sctpassociation.c index 23be55faec..6344babcc1 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