Janus WebRTC Server[edit]

Build (Rocky Linux 9)[edit]

ツール[edit]

dnf -y install jansson-devel libconfig-devel libmicrohttpd-devel meson ninja-build
dnf install libnice
dnf install libnice-devel
dnf install libwebsockets
dnf install libwebsockets-devel
libsrtp2 (SRTP: Secure Real-time Transport Protocol)[edit]
#git clone https://github.com/cisco/libsrtp.git  # このままだと libsrtp3 がダウンロードされる
git clone --branch v2.5.0 --depth 1 https://github.com/cisco/libsrtp.git libsrtp
cd libsrtp
./configure --prefix=/usr/local --enable-openssl
make -j"$(nproc)"
make install
最新版[edit]

Janus[edit]

git clone https://github.com/meetecho/janus-gateway.git
cd janus-gateway
./autogen.sh
./configure --prefix=/usr/local/janus --enable-rest --enable-websockets --enable-data-channels --disable-rabbitmq --disable-mqtt --disable-docs --enable-libsrtp2
make -j"$(nproc)"
make install
make configs

設定[edit]

/usr/local//etc/janus/janus.jcfg[edit]
api_secret = ""        # Janus REST API 用の認証キー
admin_secret = ""      # Janus 管理用 API の認証キー
/usr/local//etc/janus/janus.transport.http.jcfg (デフォルト)[edit]
http = true
port = 8088
/usr/local//etc/janus/janus.transport.websockets.jcfg (デフォルト)[edit]
ws = true
ws_port = 8188
/usr/local//etc/janus/janus.plugin.audiobridge.jcfg[edit]
 
 

トップ   新規 ページ一覧 検索 最終更新   ヘルプ   最終更新のRSS