Skip to content

Commit

Permalink
[core] Fixed SRT_SOCKOPT_NPOST when ENABLE_MAXREXMITBW is defined.
Browse files Browse the repository at this point in the history
A follow up fix for Haivision#2889.
  • Loading branch information
maxsharabayko committed Apr 26, 2024
1 parent dd3cb99 commit 9c78343
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions srtcore/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,12 @@ enum AckDataItem
};
const size_t ACKD_FIELD_SIZE = sizeof(int32_t);

#ifdef ENABLE_MAXREXMITBW
static const size_t SRT_SOCKOPT_NPOST = 13;
#else
static const size_t SRT_SOCKOPT_NPOST = 12;
#endif

extern const SRT_SOCKOPT srt_post_opt_list [];

enum GroupDataItem
Expand Down

0 comments on commit 9c78343

Please sign in to comment.