Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Janus compilation configuration

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

compilation

git clone https://github.com/meetecho/janus-gateway.git

sh autogen.sh

./ configure --prefix=/opt/janus --enable-websockets --enable-docs -disable-plugin-lua

make

sudo make install

make configs//Install all sample configuration templates in the/opt/janus/etc/janus folder

janus.cfg Global configuration file for janus, but excluding configuration files for other plugins

For example, janus and Android APP Demo communication, need to use WeSocket plug-in, so you need to install libwebsocket plug-in, and then related configuration

Janus default configuration is no WebSocket configuration, directly start Janus because there is no WebSocket configuration file and error. Fortunately Janus has provided us with a sample WebSocket configuration file in the configuration directory: janus.transport.websockets.cfg.sample,(if we want to connect Janus via WebSocket, we need a WebSocket configuration file) Here we can copy this sample file directly:

cp janus.transport.websockets.cfg.sample janus.transport.websockets.cfg

./ configure --prefix=/opt/janus --enable-websockets

After configuration is complete, print information

Compiler: gcc

libsrtp version: 2.x

SSL/crypto library: OpenSSL

DTLS set-timeout: not available

Mutex implementation: GMutex (native futex on Linux)

DataChannels support: no

Recordings post-processor: no

TURN REST API client: yes

Doxygen documentation: no

Transports:

REST (HTTP/HTTPS): yes

WebSockets: yes

RabbitMQ: no

MQTT: no

Unix Sockets: yes

Nanomsg: no

Plugins:

Echo Test: yes

Streaming: yes

Video Call: yes

SIP Gateway (Sofia): yes

SIP Gateway (libre): no

NoSIP (RTP Bridge): yes

Audio Bridge: yes

Video Room: yes

Voice Mail: yes

Record&Play: yes

Text Room: yes

Lua Interpreter: no

Duktape Interpreter: no

Event handlers:

Sample event handler: yes

WebSocket ev. handler: yes

RabbitMQ event handler:no

MQTT event handler: no

Nanomsg event handler: no

External loggers:

JSON file logger: no

JavaScript modules: no

If this configuration is ok for you, do a 'make' to start building Janus. A 'make install' will install Janus and its plugins to the specified prefix. Finally, a 'make configs' will install some sample configuration files too (something you'll only want to do the first time, though).

Note--enable-docs failed to load, so remove this configuration item

checking for doxygen... doxygen

checking for dot... no

configure: error: doxygen or dot not found. See README.md for installation instructions or remove --enable-docs

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report