首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何安装带有SRTP支持的星号?

如何安装带有SRTP支持的星号?
EN

Server Fault用户
提问于 2013-07-16 09:54:07
回答 3查看 11.6K关注 0票数 0

我对星号很陌生,我需要我的服务器来支持WebRTC。据我所知,现在Asterisk中的星号版本是在没有SRTP支持的情况下编译的,这对于WebRTC来说是必要的。

因此,我尝试在我的Ubuntu服务器13.04上使用SRTP编译星号11.5.0。我使用-- with选项执行./配置命令。下面是这个命令:

代码语言:javascript
复制
./configure --with-crypto --with-ssl --with-srtp

但我收到一个警告:

代码语言:javascript
复制
checking for the ability of -lsrtp to be linked in a shared object... no
configure: WARNING: ***
configure: WARNING: *** libsrtp could not be linked as a shared object.
configure: WARNING: *** Try compiling libsrtp manually. Configure libsrtp
configure: WARNING: *** with ./configure CFLAGS=-fPIC --prefix=/usr
configure: WARNING: *** replacing /usr with the prefix of your choice.
configure: WARNING: *** After re-installing libsrtp
configure: WARNING: *** configure script.
configure: WARNING: ***
configure: WARNING: *** If you do not need SRTP support re-run configure
configure: WARNING: *** with the --without-srtp option.

我的libsrtp (v1.4.4)已经用上面提到的选项编译了!我还尝试设置libsrtp的位置,同时配置星号:

代码语言:javascript
复制
./configure --with-crypto --with-ssl --with-srtp=/usr/include/srtp

但这改变不了什么。

你能帮我用星号支持WebRTC吗?

UPD:我认为SRTP库中存在一个问题,因为它没有正确地通过runtest : Error 254。他们在rtpw_test.sh中将"RTPW=./rtpw“改为”rtpw=./rtpw“将修复此错误,但不会。

EN

回答 3

Server Fault用户

发布于 2013-08-27 19:56:39

您安装了开发头吗?您应该能够在存储库中获得1.4.4,而不必从源代码编译。这就是我所做的,虽然我不是在Ubuntu 13.04。

代码语言:javascript
复制
apt-cache search libsrtp

应该产生libsrtp-dev或libsrtp 1-dev或类似的东西吗?

票数 2
EN

Server Fault用户

发布于 2020-07-21 10:26:28

在SRTP文件夹中

代码语言:javascript
复制
make uninstall
make clean
./configure CFLAGS=-fPIC --prefix=/usr/local/lib
make
make runtest
make install
票数 1
EN

Server Fault用户

发布于 2013-07-17 20:28:31

安装Gentoo和带有srtp标志的新兴星号解决了我的问题。任何Ubuntu的解决方案都没有找到,无论是在2天的认真搜索。

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/523635

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档