当前位置:网站首页>metaRTC5.0新版本支持mbedtls(PolarSSL)
metaRTC5.0新版本支持mbedtls(PolarSSL)
2022-08-04 13:48:00 【metaRTC】
概述
mbed TLS(PolarSSL)是TLS和SSL协议的实现,和openssl相比,mbed TLS更适合小型嵌入式设备,性能也优于openssl,metaRTC5.0新版本支持openssl和mbed TLS,metaRTC实现了对mbedtls3.0版本的支持。
下载源码
GitHub - Mbed-TLS/mbedtls: An open source, portable, easy to use, readable and flexible SSL libraryAn open source, portable, easy to use, readable and flexible SSL library - GitHub - Mbed-TLS/mbedtls: An open source, portable, easy to use, readable and flexible SSL library
https://github.com/Mbed-TLS/mbedtlshttps://github.com/metartc/metaRTC
https://github.com/metartc/metaRTCmetaRTC: metaRTC为纯C版本的webrtc 可与谷歌webrtc类库互通,支持Webrtc/SRT/RTMPhttps://gitee.com/metartc/metaRTC
mbedtls3.0编译
修改mbedtls/mbedtls_config.h参数
去掉#define MBEDTLS_SSL_DTLS_SRTP注释使其生效
mkdir build
cd build
cmake ..
make
srtp2编译
cmake文件CMakeLists.txt中修改为ON或者编译加参数使其支持mbedtls

mkdir build
cd build
cmake ..
make
metaRTC编译
修改参数yang_config.h

Yang_Using_Openssl 设为1使用openssl,设为0使用mbedtls

在qt demo工程中注释openssl,取消mbedtls注释

在cmake工程中,设置mbedtls静态库链接
边栏推荐
猜你喜欢
随机推荐
烂大街的缓存穿透、缓存击穿和缓存雪崩,你真的懂了?
leetcode 48. Rotate Image 旋转图像(Medium)
router---dynamic route matching
How to stress the MySQL performance indicators TPS\QPS\IOPS?
手搓一个“七夕限定”,用3D Engine 5分钟实现烟花绽放效果
记录都有哪些_js常用方法总结
odoo15 大部分模块都用的附件整理成一独立模块
谁说 Mysql 单表最大 2000 W ?我硬要塞它 1 个亿
c#之winform(软件开发)
Convolutional Neural Network Basics
【LeetCode】1403. 非递增顺序的最小子序列
阿里老鸟终于把测试用例怎么写说的明明白白了,小鸟必看
MogDB/openGauss 3.0 扩容及缩容
【LeetCode】38、外观数列
Execution failed for task ‘:xxx:generateReleaseRFile‘.
Various problems with npm install
leetcode 48. Rotate Image 旋转图像(Medium)
国家安全机关对涉嫌危害国家安全犯罪嫌疑人杨智渊实施刑事拘传审查
字符串类的设计与实现_C语言字符串编程题
化算力为战力:宁夏中卫的数字化转型启示录









