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 ...
随机推荐
- SpringMVC项目模块浅析
本文为个人笔记,对于springmvc模块的规划,仁者见仁.智者见智,请不要生搬硬套. 一.基础模块-basic 主要内容是dao.spring-xml.domain.service等内容,模块内分层 ...
- ERROR [main] zookeeper.RecoverableZooKeeper: ZooKeeper create failed after 4 attempts
ERROR [main] zookeeper.RecoverableZooKeeper: ZooKeeper create failed after 4 attempts ERROR [main] m ...
- 转 EasyUi日期控件datebox设置,只显示年月,也只能选择年月
1.引入Jquery和easyui,注低版本的Jquery和easy不能使用,这里使用的Jquery是1.8.2easyui是1.6.1.1.easyui下载地址:http://www.jeasyui ...
- linux 释放内存及查看内存命令
查看内存使用情况: free -m 清理内存: echo 1 > /proc/sys/vm/drop_caches 再次查看内存使用情况 free -m 查看内存条数命令: dmidecode ...
- cocos2d JS 自定义事件分发器(接收与传递数据) eventManager
简而言之,它不是由系统自动触发,而是人为的干涉 较多情况用于传递数据 var _listener1 = cc.EventListener.create({ event: cc.EventListene ...
- LocalStorage存储和cookie存储
localStorage是H5的新特性,主要用来本地存储,一般浏览器支持的大小是5M,不同浏览器会有所不同,解决了cookie存储空间不足的问题. 2.使用: ⑴.存 if(!window.l ...
- sqli-labs(十六)(order by注入)
第四十六关: http://www.bubuko.com/infodetail-2481914.html 这有篇文章讲得还不错可以看下 这关是order by后面的一个注入,用报错注入和盲注都是可以的 ...
- VS 星期作业 if else的应用 做一个受不受异性欢迎的小程序
static void Main(string[] args) { //漏掉代码 输入错误 进行提示! string T1, T2, T3, T4, T5, T6, T7, T8, T9, T10=& ...
- meta twitter 属性
总结下国际范儿的meta标签 <meta name="A game made to inspire developers to use GSAP, ES6 and Flexbox&qu ...
- 关于CTeX的几个大坑
https://blog.csdn.net/zjutczj/article/details/53463478 最近一直忙着写小论文,毕业设计中期答辩,没有更新博客,忙过这一阵我会把这段时间学习机器学习 ...