fix macOS Catalina build: the CMake config on previous versions doesn't (#14)

find the XCode/Clang SDK anymore, this however works fine with latest
SRT v1.4.2.
Now this however breaks support for the SRTO_TSBPDDELAY sock opt flag.
This commit is contained in:
Stephan Hesse 2020-10-26 16:49:39 +01:00 • committed by GitHub
parent 27e3494337
commit bee401cce9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -12,7 +12,7 @@ const os = require('os');
const env = process.env;
const SRT_REPO = env.NODE_SRT_REPO || "https://github.com/Haivision/srt.git";
const SRT_CHECKOUT = "v1.4.1";
const SRT_CHECKOUT = "v1.4.2";
const srtRepoPath = env.NODE_SRT_LOCAL_REPO ? `file://${path.join(__dirname, env.NODE_SRT_LOCAL_REPO)}` : SRT_REPO;
const srtCheckout = env.NODE_SRT_CHECKOUT || SRT_CHECKOUT;

View file

@ -24,7 +24,6 @@
ENUM(SRTO_RCVDATA), \
ENUM(SRTO_SENDER), \
ENUM(SRTO_TSBPDMODE), \
ENUM(SRTO_TSBPDDELAY), \
ENUM(SRTO_INPUTBW), \
ENUM(SRTO_OHEADBW), \
ENUM(SRTO_PASSPHRASE), \
@ -64,4 +63,4 @@
ENUM(SRTS_CONNECTED), \
ENUM(SRTS_BROKEN), \
ENUM(SRTS_CLOSING), \
ENUM(SRTS_CLOSED)
ENUM(SRTS_CLOSED)