【OBS-studio-webrtc】OBS requires Windows 10 SDK version 10.0.19041.0 and above to compile.

OBS Studio WebRTC模块在20210222的更新中要求Windows 10 SDK版本至少为10.0.19041.0,否则编译将失败。由于项目依赖VS2017,使用更高版本的SDK会导致警告。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  • OBS 官方当前(20210222)最新 要求的windows sdk 版本10.19.***
  • 而且内置了检查:
  • G:\NDDEV\RTOBS\OBS-studio-webrtc\

如果 10.0.19041.0 不满足会报错

# --- Handle Project Dependencies
#
# supposes that the super build, or the user uses QTDIR (CLI or ENV), QTDIR32 and or QTDIR64 (ENV only)
# and not the more standard Qt5_DIR variable. Brittle.
#
# supposes that the DepsPath variable exists and point to the obs precompile dependencies.
~、 OBS-studio-webrtc-1.1 (基于obs-studio-21.0.3)编译 CMake-3.5.2 生成 VC14 工程文件: "USE_SSL" 宏要选中 ,且勾选 "Advanced" ,填写3个宏定义值: SSL_INCLUDE_DIR C:/Program Files/OpenSSL/include _CRYPTO_LIB C:/Program Files/OpenSSL/lib/libcrypto.lib _SSL_LIB C:\Program Files\OpenSSL\lib\libssl.lib 注,运行时,要把2个dll,拷到OBS运行目录下(如,rundir\Debug\bin\64bit),否则加载obs_outputs.dll失败,无法推流 。 C:\Program Files\OpenSSL\bin\libcrypto-1_1-x64.dll C:\Program Files\OpenSSL\bin\libssl-1_1-x64.dll obs-outputs 工程编译,关于OpenSSL的问题 #include <C:/Program Files/OpenSSL/crypto/evp/evp_locl.h> // hashswf.c -chenlx #include <C:/Program Files/OpenSSL/crypto/hmac/hmac_lcl.h> #define HMAC_CTX_init HMAC_CTX_reset #define HMAC_CTX_cleanup HMAC_CTX_free #include <C:/Program Files/OpenSSL/crypto\evp\evp_locl.h> // rtmp.c -chenlx #include <C:/Program Files/OpenSSL/crypto/hmac/hmac_lcl.h> #include <C:/Program Files/OpenSSL/crypto\dh\dh_locl.h> #define HMAC_CTX_init HMAC_CTX_reset #define HMAC_CTX_cleanup HMAC_CTX_free 测试运行注意。 在同一台机器上推拉流"媒体源"时,注意要把主界面上的"台式音响"声音关掉,避免MPC-HC等流播放器拉流后声音重叠,似有回音。 OBS-studio-webrtc-1.1 测试问题 处理2: 自编译64位的SSL动态库,代替网上下载的"OpenSSL-Win64" 库安装包。 安装Perl工具 : strawberry-perl-5.22.1.3-32bit.exe # 路径在 D:Qt\Qt5.9.6\Tools\Perl52213_32 解压 代码 : openssl-1.1.0g.tar.gz 编译安装64位的 OpenSSL -- $ "c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 $ perl Configure VC-WIN64A $ nmake $ nmake test $ nmake install // 默认安装路径:C:/Program Files/OpenSSL
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

等风来不如迎风去

你的鼓励是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值