janus编译配置
admin
2023-02-19 19:00:10
0

编译
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//将所有的样例配置模板安装到/opt/janus/etc/janus文件夹下


janus.cfg  janus 的全局配置文件,但不包括其他插件的配置文件

例如 janus跟Android APP Demo通信,需要使用WeSocket插件,所以需要安装libwebsocket插件,然后进行相关的配置

janus 默认的配置中是没有 WebSocket 的配置的,直接启动 Janus 会因没有 WebSocket 配置文件而报错。幸运的是在配置目录中 Janus 已经给我们提供了一个 WebSocket 的示例配置文件 : janus.transport.websockets.cfg.sample,(如果我们要通过 WebSocket 连接 Janus,则需要有个 WebSocket 的配置文件)这里我们可以直接拷贝这个示例文件:

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



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

配置完成之后,打印信息

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).


注意--enable-docs加载不成功,因此去掉该配置项

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




相关内容

热门资讯

我来教教您“美味冰淇淋.有没有... 有 亲,根据资深记者爆料美味冰淇淋是可以开挂的,确实有挂(咨询软件无需打...
重磅消息“蜀友汇.有挂吗?”外... 有 亲,根据资深记者爆料蜀友汇是可以开挂的,确实有挂(咨询软件无需打开直...
【第一财经】“八闽掌上麻将.有... 有 亲,根据资深记者爆料八闽掌上麻将是可以开挂的,确实有挂(咨询软件无需...
玩家最新攻略“来来麻将.怎么装... 有 亲,根据资深记者爆料来来麻将是可以开挂的,确实有挂(咨询软件无需打开...
玩家分享攻略“圣盛晃晃麻将.是... 家人们!今天小编来为大家解答圣盛晃晃麻将透视挂怎么安装这个问题咨询软件客服徽9784099的挂在哪里...
【今日要闻】“新青鸟拼三张.究... 【今日要闻】“新青鸟拼三张.究竟有挂吗?”确实真的有挂您好,新青鸟拼三张这个游戏其实有挂的,确实是有...
玩家分享攻略“麻友圈2挪来挪去... 您好:麻友圈2挪来挪去这款游戏可以开挂,确实是有挂的,需要了解加客服微信【4282891】很多玩家在...
终于明白“新版悟空牛牛.到底有... 终于明白“新版悟空牛牛.到底有挂吗?”果然有透视挂您好,新版悟空牛牛这个游戏其实有挂的,确实是有挂的...
玩家分享攻略“微乐四川麻将.辅... 家人们!今天小编来为大家解答微乐四川麻将透视挂怎么安装这个问题咨询软件客服徽4282891的挂在哪里...
终于明白“凑局麻将.辅助器?”... 家人们!今天小编来为大家解答凑局麻将透视挂怎么安装这个问题咨询软件客服徽9784099的挂在哪里买很...