2017-09-17 9 views
0

janusを使用しようとしています。最初のステップ、インストール。 私は指示hereに従った。すべては順調です。私は、出力のjanus gateway:configureはwebsocketsが有効でないことを示します

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 

私の問題は、エントリにWebSocketをIS:なし。

は私が/ usr/libにチェックし、ここに存在し、関連するファイルです:

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

と/ usr /だから、

/usr/include/libwebsockets.h 

を含んでは、私はlibwebsocketsが正しくインストールされていることと思います。 webSocketsトランスポートを有効にするには何が必要ですか?

私はthisも見ました。

答えて

1

https://github.com/meetecho/janus-gateway/pull/996

ので、あなたはlibwebsockets> = 2.0.0が必要です。 Trustyには古いバージョンがあります。

あなたはそれをコンパイルする必要があります。 janusの説明を参照してください。

+0

コンパイルする前にlibwebsockets-devを削除する方がよいでしょう。 – tgabi333

+0

はい。それだった! – Sam

関連する問題