2017-09-17 105 views
0

我正在嘗試使用janus。第一步,安裝。 我按照說明here。一切都很好。然而,當我運行輸出的janus網關:配置顯示websocket未啓用

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傳輸?

我也看過this了。

回答