From 28729391e767386e307da97cf00167271ea28bf5 Mon Sep 17 00:00:00 2001 From: Zhao Zhili Date: Sun, 7 Feb 2021 19:10:07 +0800 Subject: [PATCH] [core] Workaround ABI compatibility due to ENABLE_EXPERIMENTAL_BONDING --- srtcore/srt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srtcore/srt.h b/srtcore/srt.h index 30be3e061..639fbc1a3 100644 --- a/srtcore/srt.h +++ b/srtcore/srt.h @@ -239,12 +239,12 @@ typedef enum SRT_SOCKOPT { SRTO_ENFORCEDENCRYPTION, // Connection to be rejected or quickly broken when one side encryption set or bad password SRTO_IPV6ONLY, // IPV6_V6ONLY mode SRTO_PEERIDLETIMEO, // Peer-idle timeout (max time of silence heard from peer) in [ms] + SRTO_BINDTODEVICE, // Forward the SOL_SOCKET/SO_BINDTODEVICE option on socket (pass packets only from that device) #if ENABLE_EXPERIMENTAL_BONDING SRTO_GROUPCONNECT, // Set on a listener to allow group connection SRTO_GROUPSTABTIMEO, // Stability timeout (backup groups) in [us] SRTO_GROUPTYPE, // Group type to which an accepted socket is about to be added, available in the handshake #endif - SRTO_BINDTODEVICE, // Forward the SOL_SOCKET/SO_BINDTODEVICE option on socket (pass packets only from that device) SRTO_PACKETFILTER = 60, // Add and configure a packet filter SRTO_RETRANSMITALGO = 61 // An option to select packet retransmission algorithm } SRT_SOCKOPT;