资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

janus编译配置-创新互联

编译
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

另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


新闻标题:janus编译配置-创新互联
网站URL:http://cdkjz.cn/article/ceespi.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

业务热线:400-028-6601 / 大客户专线   成都:13518219792   座机:028-86922220