livekit 源码编译

1, 下载源码

git clone  https://github.com/livekit/livekit.git

2, ./bootstrap.sh

安装mage

3,运行mage

/root/go/bin/mage

4,查看是否编译成功

(base) [root@master2 livekit]# ls bin/livekit-server -l
-rwxr-xr-x 1 root root 32421744 12月  3 14:12 bin/livekit-server
5,启动

(base) [root@master2 bin]# ./livekit-server --dev
2022-12-03T14:17:12.454+0800    INFO    livekit server/main.go:192      starting in development mode
2022-12-03T14:17:12.455+0800    INFO    livekit server/main.go:195      no keys provided, using placeholder keys        {"API Key": "devkey", "API Secret": "secret"}
2022-12-03T14:17:12.457+0800    INFO    livekit redis/redis.go:63       connecting to redis     {"simple": true, "addr": ""}
2022-12-03T14:17:12.649+0800    DEBUG   livekit routing/redisrouter.go:377      starting redisWorker    {"nodeID": "ND_zKaneG7D"}
2022-12-03T14:17:12.673+0800    INFO    livekit service/server.go:212   starting LiveKit server {"portHttp": 7880, "nodeID": "ND_zKaneG7D", "nodeIP": "172.70.10.34", "version": "1.3.1", "bindAddresses": ["127.0.0.1", "[::1]"], "rtc.portTCP": 7881, "rtc.portUDP": 7882}
 

你可能感兴趣的:(livekit,java,数据库,服务器)