我正在为我的 WebRTC 应用程序设置 CoTURN 服务器。我想使用 PostgreSQL 作为用户的数据库。
我用选项启动了turnserver --psql-userdb
。我在下面收到错误。
turnserver: unrecognized option `--psql-userdb=...`
当我尝试在没有任何选项的情况下启动服务器时,我在下面得到了这些日志。
RFC 3489/5389/5766/5780/6062/6156 STUN/TURN Server
Version Coturn-4.5.0.6 'dan Eider'
0:
Max number of open files/sockets allowed for this process: 8191
0:
Due to the open files/sockets limitation,
max supported number of TURN Sessions possible is: 4000 (approximately)
0:
==== Show him the instruments, Practical Frost: ====
0: TLS supported
0: DTLS supported
0: DTLS 1.2 supported
0: TURN/STUN ALPN supported
0: Third-party authorization (oAuth) supported
0: GCM (AEAD) supported
0: OpenSSL compile-time version: OpenSSL 1.1.0f 25 May 2017 (0x1010006f)
0:
0: SQLite supported, default database location is /usr/local/var/db/turndb
0: Redis is not supported
0: PostgreSQL is not supported
0: MySQL supported
0: MongoDB is not supported
0:
0: Default Net Engine version: 1 (UDP listening socket per session)
它说不支持 PostgreSQL,虽然我已经安装了 PostgreSQL 9.3。
我的设置是否缺少任何内容,或者有没有办法告诉 turnserver 启用对选定数据库的支持?
请帮忙,提前谢谢。