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.
This commit is contained in:
Fabio D'Urso 2019-04-26 16:25:17 +02:00
parent e4b8f21a5a
commit f53beb876c

View file

@ -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