gpt4 book ai didi

debian - 如何启动 Janus WebRTC 网关?

转载 作者:行者123 更新时间:2023-12-02 15:21:37 42 4
gpt4 key购买 nike

我在/usr/local/lib 上成功安装了 Janus,并重新配置以启动 Janus。但是当我执行 sudo 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

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

错误是什么意思?

最佳答案

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

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

然后:

cd /opt/janus/bin/ 

./janus -F /opt/janus/etc/janus/

关于debian - 如何启动 Janus WebRTC 网关?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35890559/

42 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com