如何启动Janus WebRTC网关?

时间:2016-03-09 11:37:57

标签: debian beagleboneblack janus

我在/ usr / local / lib上安装了成功的Janus,我重新配置启动Janus。但是当我/* debian@beaglebone:/usr/local/bin$ janus --------------------------------------------------- Starting Meetecho Janus (WebRTC Gateway) v0.1.0 --------------------------------------------------- Checking command line arguments... Debug/log level is 4 Debug/log timestamps are disabled Debug/log colors are enabled Adding 'vmnet' to the ICE ignore list... Using 10.92.200.16 as local IP... [WARN] Token based authentication disabled Initializing ICE stuff (Full mode, ICE-TCP candidates disabled, IPv6 support disabled) ICE handles watchdog started TURN REST API backend: (disabled) [WARN] Janus is deployed on a private address (10.92.200.16) but you didn't specify any STUN server! Expect trouble if this is supposed to work over the internet and not just in a LAN... BUNDLE is NOT going to be forced rtcp-mux is NOT going to be forced Fingerprint of our certificate: D2:B9:31:8F:DF:24:D8:0E:ED:D2:EF:25:9E:AF:6F:B8:34:AE:53:9C:E6:F3:8F:F2:64:15:FA:E8:7F:53:2D:38 [WARN] Data Channels support not compiled Plugins folder: /usr/local/lib/janus/plugins Loading plugin 'libjanus_voicemail.so'... JANUS VoiceMail plugin initialized! Loading plugin 'libjanus_recordplay.so'... JANUS Record&Play plugin initialized! Loading plugin 'libjanus_echotest.so'... VoiceMail watchdog started EchoTest watchdog started Record&Play watchdog started JANUS EchoTest plugin initialized! Loading plugin 'libjanus_videocall.so'... JANUS VideoCall plugin initialized! Loading plugin 'libjanus_streaming.so'... VideoCall watchdog started JANUS Streaming plugin initialized! Loading plugin 'libjanus_videoroom.so'... JANUS VideoRoom plugin initialized! Streaming watchdog started Loading plugin 'libjanus_audiobridge.so'... JANUS AudioBridge plugin initialized! VideoRoom watchdog started Loading plugin 'libjanus_sip.so'... AudioBridge watchdog started JANUS SIP plugin initialized! Transport plugins folder: /usr/local/lib/janus/transports Loading transport plugin 'libjanus_http.so'... SIP watchdog started [ERR] [janus.c:main:3684] Couldn't load transport plugin 'libjanus_http.so': libmicrohttpd.so.12: cannot open shared object file: No such file or directory [FATAL] [janus.c:main:3741] No Janus API transport is available... enable at least one and restart Janus 时,我收到了这个错误:

create table #a(cat nvarchar(10), name nvarchar(10))
insert into #a values
('a', 'n1'),
('a', 'n2'),
('a', 'n3'),
('a', 'n4'),
('a', 'n5'),
('a', 'n6'),
('a', 'n7'),
('a', 'n8'),
('a', 'n9')

* / libjanus_http.so和libmicrohttpd.so.12存在于usr / local / lib / janus / transport和/ usr / local / lib

错误是什么意思?

2 个答案:

答案 0 :(得分:0)

我遇到了同样的问题。使用找到的信息here,运行

解决了问题
make configs

在安装目录中。

答案 1 :(得分:0)

我猜你错过了一两步,也许它会解决你为我做的问题:

msSinceStartScroll

sudo apt-get install libmicrohttpd-dev libjansson-dev libnice-dev libssl-dev libsrtp-dev libsofia-sip-ua-dev libglib2.0-dev libopus-dev libogg-dev libini-config-dev libcollection-dev libwebsockets-dev pkg-config gengetopt automake libtool doxygen graphviz git cmake

sudo apt-get install libavformat-dev

mkdir -p ~/build

cd ~/build

然后:

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


cd janus-gateway

sh autogen.sh

./configure --disable-data-channels --disable-websockets --disable-rabbitmq --disable-docs --prefix=/opt/janus LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" CFLAGS="-I/usr/local/include"

make && sudo make install
sudo make configs