intel webrtc 部署
Configure the MCU server
1. set the maximum numbers of open files, running processes and maximum stack size to a large enough number
sudo su
echo "* hard nproc unlimited
* soft nproc unlimited
* hard nofile
* soft nofile
* hard stack
* soft stack " >> /etc/security/limits.conf
2. add pam_limits.so in /etc/pam.d/login
echo "session required pam_limits.so" >> /etc/pam.d/login
3. CentOS, update /etc/security/limits.d/xx-nproc.conf
echo "* soft nproc unlimited
* hard nproc unlimited" >> /etc/security/limits.d/[0-9]*-nproc.conf
cat /etc/security/limits.d/[-]*-nproc.conf
4. update /etc/sysctl.conf:
echo "fs.file-max=200000
net.core.rmem_max=
net.core.wmem_max=
net.core.rmem_default=
net.core.wmem_default=
net.ipv4.udp_mem =
net.ipv4.tcp_rmem=
net.ipv4.tcp_wmem=
net.ipv4.tcp_mem= " >> /etc/sysctl.conf
5. enable the above config
/sbin/sysctl -p
ulimit -a
all in 1-5
#
sudo su
echo "* hard nproc unlimited
* soft nproc unlimited
* hard nofile
* soft nofile
* hard stack
* soft stack " >> /etc/security/limits.conf #
echo "session required pam_limits.so" >> /etc/pam.d/login #
echo "* soft nproc unlimited
* hard nproc unlimited" >> /etc/security/limits.d/[0-9]*-nproc.conf
cat /etc/security/limits.d/[-]*-nproc.conf #
echo "fs.file-max=200000
net.core.rmem_max=
net.core.wmem_max=
net.core.rmem_default=
net.core.wmem_default=
net.ipv4.udp_mem =
net.ipv4.tcp_rmem=
net.ipv4.tcp_wmem=
net.ipv4.tcp_mem= " >> /etc/sysctl.conf #
/sbin/sysctl -p
ulimit -a
Download 4.0 version
## 4.0 version
# code
wget http://registrationcenter-download.intel.com/akdlm/irc_nas/12880/Intel_CS_WebRTC.v4.0.zip # doc
wget http://registrationcenter-download.intel.com/akdlm/irc_nas/12880/Intel_CS_WebRTC_User_Document.v4.0.zip # RN
wget http://registrationcenter-download.intel.com/akdlm/irc_nas/12880/ReleaseNotes.pdf
Download 3.5.2 version
# code
wget http://registrationcenter-download.intel.com/akdlm/irc_nas/12532/Intel_CS_WebRTC.v3.5.2.zip # doc
wget http://registrationcenter-download.intel.com/akdlm/irc_nas/12532/Intel_CS_WebRTC_User_Document.v3.5.zip #RN
wget http://registrationcenter-download.intel.com/akdlm/irc_nas/12532/ReleaseNotes.pdf
Intall 4.0 Version
RTCVER=4.0
sudo yum install unzip
sudo yum -y install bzip2 unzip Intel_CS_WebRTC.v$RTCVER.zip -d cs_webrtc
cd cs_webrtc
tar xf CS_WebRTC_Conference_Server_MCU.v[-].*[-].tgz
cd Release-v$RTCVER echo "Choose Yes during install"
./video_agent/install_deps.sh echo "install_openh264.sh to install openh264 or uninstall_openh264.sh to uninstall openh264"
echo "build ffmpeg with libfdkaac" ./audio_agent/compile_ffmpeg_with_libfdkaac.sh
cp ffmpeg_libfdkaac_lib/* audio_agent/lib/ echo "Check cert"
ls management_console/cert nuve/cert portal/cert webrtc_agent/cert
echo "Check configure file"
ls management_console/management_console.toml nuve/nuve.toml portal/portal.toml webrtc_agent/agent.toml
cat extras/basic_example/README.md
安装node.js
install and epel install
yum -y install epel-release
yum -y update # curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
# sudo yum -y install nodejs
# sudo yum install gcc-c++ make sudo yum install nodejs npm --enablerepo=epel
启动单机节点:
首先需要安装mongodb
How To Install MongoDB on CentOS 7
How to Install MongoDB on CentOS 7
echo "[mongodb]
name=MongoDB Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
gpgcheck=
enabled=" >> /etc/yum.repos.d/mongodb.repo
yum -y install epel-release
yum -y update
# sudo yum -y install mongodb
yum -y install mongodb-org mongodb-org-server
rpm -qa |grep mongodb
rpm -ql mongodb-org-server
# rpm -ql mongodb
systemctl start mongod
systemctl status mongod
mongostat
mongostat --rowcount netstat -nltp|grep mongod
Install rabbitmq
How to Install RabbitMQ Server on CentOS 7, rabbitmq org
install Erlang and RabbitMQ prefe from package cloud
curl -s https://packagecloud.io/install/repositories/rabbitmq/erlang/script.rpm.sh | sudo bash
yum -y install erlang socat
erl -version # install firewall
sudo yum install firewalld
sudo systemctl start firewalld
sudo systemctl enable firewalld
sudo systemctl status firewalld firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --zone=public --permanent --add-port=-/tcp
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --zone=public --permanent --add-port=-/tcp
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --reload
setsebool -P nis_enabled # rpm --import https://www.rabbitmq.com/rabbitmq-release-signing-key.asc
# rpm --import https://www.rabbitmq.com/rabbitmq-release-signing-key.asc
# wget https://dl.bintray.com/rabbitmq/all/rabbitmq-server/3.7.4/rabbitmq-server-3.7.4-1.el7.noarch.rpm
# rpm -Uvh rabbitmq-server-3.7.-.el7.noarch.rpm curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.rpm.sh | sudo bash
yum -y install rabbitmq-server
echo "NODENAME=rabbit@localhost" >> /etc/rabbitmq/rabbitmq-env.conf
echo "127.0.0.1 $HOSTNAME" >> /etc/hosts
systemctl start rabbitmq-server
systemctl enable rabbitmq-server
systemctl status rabbitmq-server
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --reload
install
bin/init-all.sh [--deps]
start
bin/start-all.sh
stop
bin/stop-all.sh
client:
REF:
7 Benefits of Video Conferencing
DXVA是DirectX Video Acceleration
intel webrtc 部署的更多相关文章
- Intel_CS_WebRTC 验证性测试
机器: Centos 7.2 一.配置阿里云源 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/Cen ...
- Ubuntu中安装部署Intel CS WebRTC
1环境要求 组件 版本要求 OS CentOS* 7.4, Ubuntu 14.04/16.04 LTS Node 8.11.* (推荐8.11.1) MongoDB 2.4.9 Boost 1.65 ...
- [转]webrtc学习: 部署stun和turn服务器
[转]webrtc学习: 部署stun和turn服务器 http://www.cnblogs.com/lingdhox/p/4209659.html webrtc的P2P穿透部分是由libjingle ...
- 为WebRTC 应用部署Turn Server
部署WebRTC 或 SIP p2p 方案时经常会遇到p2p 无法穿透的环境, 这时就是TunServer 的用武之地了. 这里我们使用turnserver-0.7.3 下载confuse依赖库 wg ...
- WebRTC学习之 Intel® Collaboration Suite for WebRTC源码流程解读
年后回来,因为新项目的需求,开始了解WebRTC相关的知识.目前接触的是Intel® Collaboration Suite for WebRTC.刚开始看SDK发现很多概念是我目前不知道的,于是恶补 ...
- webrtc学习: 部署stun和turn服务器
webrtc的P2P穿透部分是由libjingle实现的. 步骤顺序大概是这样的: 1. 尝试直连. 2. 通过stun服务器进行穿透 3. 无法穿透则通过turn服务器中转. stun 服务器比较简 ...
- webrtc笔记(4): kurento 部署
kurento是一个开源的webrtc mcu服务器,按官方的文档,建议在ubtntu上安装,过程如下: 注:建议先切换到root身份,如果不是root身份登录的,下列命令,请自行加上sudo . 另 ...
- 在Ubuntu上部署一个基于webrtc的多人视频聊天服务
最近研究webrtc视频直播技术,网上找了些教程最终都不太能顺利跑起来的,可能是文章写的比较老,使用的一些开源组件已经更新了,有些配置已经不太一样了,所以按照以前的步骤会有问题.折腾了一阵终于跑起来了 ...
- Android IOS WebRTC 音视频开发总结(十一)-- stun&turn部署
本篇文章主要介绍webrtc里面的stun,turn服务的安装与配置(转载请说明出处: http://www.cnblogs.com/lingyunhu, RTC.Blacker) 说到STUN,TU ...
随机推荐
- (转载)spring RestTemplate用法详解
前面介绍过spring的MVC结合不同的view显示不同的数据,如:结合json的view显示json.结合xml的view显示xml文档.那么这些数据除了在WebBrowser中用JavaScrip ...
- 5.C#释放非托管资源1
释放非托管资源 在介绍释放非托管资源的时候,我觉得有必要先来认识一下啥叫非托管资源,既然有非托管资源,肯定有托管资源. 托管资源指的是.net可以自棕进行回收的资源,主要是指托管堆上分配的内存资源.托 ...
- python list成员函数extend与append的区别
extend 原文解释,是以list中元素形式加入到列表中 extend list by appending elements from the iterable append(obj) 是将整个ob ...
- Ajax(django)
Ajax AJAX即“Asynchronous Javascript And XML”(异步JavaScript和XML),是指一种创建交互式网页应用的网页开发技术. AJAX = 异步 JavaSc ...
- System.Web.HttpException (0x80004005): 验证视图状态 MAC 失败。如果此应用程序由网络场或群集承载,请确保 <machineKey> 配置指定了相同的 validationKey 和验证算法。不能在群集中使用 AutoGenerate。
异常描述: Global.asax捕获到异常:System.Web.HttpException (0x80004005): 验证视图状态 MAC 失败.如果此应用程序由网络场或群集承载,请确保 < ...
- Windows jmeter配置
JMeter是Apache软件基金会的产品,用于对提供静态的和动态的资源服务器性能的测试.是一款很方便的测试软件. JMeter 要依附Java SE 环境 所以在启用JMeter之前要安装JAVA ...
- 在屏幕拖拽3D物体移动
3D物体的拖拽不同于2D的.因为3D物体有x,y,z当然.实际拖拽还是在XZ平面.只是多了几个转换 using UnityEngine; using System.Collections; publi ...
- WebSocket.之.基础入门-建立连接
WebSocket.之.基础入门-建立连接 1. 使用开发工具(STS.Eclipse等)创建web项目.如下图所示,啥东西都没有.一个新的web项目. 2. 创建java类.index.jsp页面. ...
- webpack打包报错
Invalid configuration object. Webpack has been initialised using a configuration object that does no ...
- VS 统计整个项目总的代码行数
vs如何快速统计项目总代码行数呢,如下: vs编辑 | 查找和替换 | 在文件中查找 查找选项选 选择正则表达式 ^b*[^:b#/]+.*$ 设置如下: 结果在查找结果的最后一行,如下