J'essaie d'utiliser janus. Première étape, installation. J'ai suivi les instructions here. Tout est bien. Cependant, quand je lancejanus gateway: configure montre websockets non activé
configure prefix=/opt/janus
parties pertinentes de la sortie sont:
...
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
Mon problème est avec l'entrée WebSockets: non.
J'ai vérifié dans/usr/lib et voici les fichiers pertinents là:
/usr/lib/libwebsockets.a /usr/lib/libwebsockets.so
/usr/lib/libwebsockets.so.11 /usr/lib/libwebsockets.so.5
Et dans/usr/include
/usr/include/libwebsockets.h
Alors, je pense que libwebsockets est installé correctement. Que faut-il faire pour que le transport webSockets soit activé? J'ai aussi regardé this aussi.
Vous devriez supprimer libwebsockets-dev avant de compiler – tgabi333
Oui. C'était ça! – Sam