问题描述
我正在尝试使用janus.第一步,安装.我按照此处的说明进行操作.一切都很好.但是,当我跑步
I am trying to use janus. First step, installation.I followed the instructions here. All is well. However, when I run
configure prefix=/opt/janus
输出的相关部分是:
...
checking for TRANSPORTS... yes
checking for MHD... yes
checking for lws_create_vhost in -lwebsockets... no
checking for amqp_error_string2 in -lrabbitmq... no
checking for MQTTAsync_create in -lpaho-mqtt3a... no
checking for PLUGINS... yes
checking for SOFIA... yes
checking for OPUS... yes
checking for OGG... yes
checking for EVENTS... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating html/Makefile
config.status: creating docs/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
libsrtp version: 1.5.x
SSL/crypto library: OpenSSL
DTLS set-timeout: not available
DataChannels support: no
Recordings post-processor: no
TURN REST API client: yes
Doxygen documentation: no
Transports:
REST (HTTP/HTTPS): yes
WebSockets: no
RabbitMQ: no
MQTT: no
Unix Sockets: yes
Plugins:
Echo Test: yes
Streaming: yes
Video Call: yes
SIP Gateway: yes
Audio Bridge: yes
Video Room: yes
Voice Mail: yes
Record&Play: yes
Text Room: yes
我的问题与进入有关 WebSockets:不.
我签入/usr/lib,这里是相关文件:
I checked in /usr/lib and here are the relevant files there:
/usr/lib/libwebsockets.a /usr/lib/libwebsockets.so
/usr/lib/libwebsockets.so.11 /usr/lib/libwebsockets.so.5
在/usr/include
And in /usr/include
/usr/include/libwebsockets.h
因此,我认为libwebsockets已正确安装.要启用webSockets传输需要做什么?
So, I think that libwebsockets is installed properly. What needs to be done to get the webSockets transport enabled?
我也确实查看过这.
推荐答案
由于 https://github.com/meetecho/janus-gateway/pull/996
您需要libwebsockets> = 2.0.0. Trusty有一个旧版本.
You need libwebsockets >= 2.0.0. Trusty has an old version.
您必须对其进行编译.请参阅janus的说明.
You have to compile it. See the description of janus how to do that.
这篇关于janus网关:configure显示未启用websockets的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!