summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago Carot-Nemesio <sancane@gmail.com>2015-09-07 13:51:09 (GMT)
committerRobert Swain <robert.swain@ericsson.com>2015-09-08 05:58:17 (GMT)
commitfcc509056cc648f990949057a401c470a4f7a289 (patch)
tree03c2acaa2f4e23e8ebf02bfa1fd77d33e6b72b4e
parent0553844ec3faf506755e1b5bec0de3b3f7e0940e (diff)
downloadopenwebrtc-gst-plugins-fcc509056cc648f990949057a401c470a4f7a289.tar.gz
openwebrtc-gst-plugins-fcc509056cc648f990949057a401c470a4f7a289.tar.xz
sctpassociation: Minimize black-hole conditions
Configure sctp black-hole to reduce the unexpected faiulure of SCTP associations
-rw-r--r--ext/sctp/sctpassociation.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/sctp/sctpassociation.c b/ext/sctp/sctpassociation.c
index 073c889..46f1f2f 100644
--- a/ext/sctp/sctpassociation.c
+++ b/ext/sctp/sctpassociation.c
@@ -160,6 +160,8 @@ static void gst_sctp_association_init (GstSctpAssociation *self)
if (number_of_associations == 0) {
usrsctp_init(0, sctp_packet_out, g_print);
+ usrsctp_sysctl_set_sctp_blackhole(2);
+
/* Explicit Congestion Notification */
usrsctp_sysctl_set_sctp_ecn_enable(0);