Janus网关:配置显示未启用Websockets



我正在尝试使用Janus。第一步,安装。我在这里遵循说明。一切都很好。但是,当我运行

    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,这是那里的相关文件:

 /usr/lib/libwebsockets.a  /usr/lib/libwebsockets.so  
 /usr/lib/libwebsockets.so.11  /usr/lib/libwebsockets.so.5

和/usr/include

 /usr/include/libwebsockets.h

所以,我认为libwebsockets已正确安装。需要做些什么才能使Websockets启用运输?

我也确实看过这个。

以来

您需要libwebsockets> = 2.0.0。Trusty有一个旧版本。

您必须编译它。请参阅Janus的描述。

相关内容

  • 没有找到相关文章

最新更新