crtmpserver的安装
来源:互联网 发布:黑暗之魂3画面设置优化 编辑:程序博客网 时间:2024/05/20 20:21
下载
svn co --username anonymous --password "" https://svn.rtmpd.com/crtmpserver/branches/1.0 crtmpserver
安装:
1. 按照文档sudo apt-get install g++ subversion cmake make libssl-dev,还是出现
-- The C compiler identification is GNU-- The CXX compiler identification is GNU-- Check for working C compiler: /usr/bin/gcc-- Check for working C compiler: /usr/bin/gcc -- works-- Detecting C compiler ABI info-- Detecting C compiler ABI info - done-- Check for working CXX compiler: /usr/bin/c++-- Check for working CXX compiler: /usr/bin/c++ -- works-- Detecting CXX compiler ABI info-- Detecting CXX compiler ABI info - doneOPENSSL_INCLUDE_PATH: OPENSSL_INCLUDE_PATH-NOTFOUNDOPENSSL_LIBRARY_PATH: OPENSSL_LIBRARY_PATH-NOTFOUNDCRYPTO_LIBRARY_PATH: CRYPTO_LIBRARY_PATH-NOTFOUNDZ_LIBRARY_PATH:CMake Error at cmake_find_modules/Find_openssl.cmake:74 (MESSAGE): Looking for openssl headers - not foundCall Stack (most recent call first): CMakeLists.txt:46 (INCLUDE)-- Configuring incomplete, errors occurred!
缺少openssl,从网上下载openssl,make install之后cmake .成功
但是make出错:
/home/user/crtmpserver/3rdparty/tinyxml/tinyxmlparser.cpp: In static member function 'static const char* TiXmlBase::GetEntity(const char*, char*, int*, TiXmlEncoding)':/home/user/crtmpserver/3rdparty/tinyxml/tinyxmlparser.cpp:407:9: error: 'ptrdiff_t' was not declared in this scope/home/user/crtmpserver/3rdparty/tinyxml/tinyxmlparser.cpp:407:9: note: suggested alternatives:/usr/include/c++/4.6/i686-linux-gnu/./bits/c++config.h:156:28: note: 'std::ptrdiff_t'/usr/include/c++/4.6/i686-linux-gnu/./bits/c++config.h:156:28: note: 'std::ptrdiff_t'/home/user/crtmpserver/3rdparty/tinyxml/tinyxmlparser.cpp:407:19: error: expected ';' before 'delta'/home/user/crtmpserver/3rdparty/tinyxml/tinyxmlparser.cpp:419:13: error: 'delta' was not declared in this scope/home/user/crtmpserver/3rdparty/tinyxml/tinyxmlparser.cpp:443:13: error: 'delta' was not declared in this scope/home/user/crtmpserver/3rdparty/tinyxml/tinyxmlparser.cpp:462:20: error: 'delta' was not declared in this scopemake[2]: *** [tinyxml/CMakeFiles/tinyxml.dir/home/user/crtmpserver/3rdparty/tinyxml/tinyxmlparser.cpp.o] Error 1make[1]: *** [tinyxml/CMakeFiles/tinyxml.dir/all] Error 2make: *** [all] Error 2
将ptrdiff_t delta = 0;改成std::ptrdiff_t delta = 0;
不容易,终于ok了。
运行:
./crtmpserver/crtmpserver ./crtmpserver/crtmpserver.lua。。。。+-----------------------------------------------------------------------------+| Services|+---+---------------+-----+-------------------------+-------------------------+| c | ip | port| protocol stack name | application name |+---+---------------+-----+-------------------------+-------------------------+|tcp| 0.0.0.0| 1112| inboundJsonCli| admin|+---+---------------+-----+-------------------------+-------------------------+|tcp| 0.0.0.0| 1935| inboundRtmp| appselector|+---+---------------+-----+-------------------------+-------------------------+|tcp| 0.0.0.0| 8081| inboundRtmps| appselector|+---+---------------+-----+-------------------------+-------------------------+|tcp| 0.0.0.0| 8080| inboundRtmpt| appselector|+---+---------------+-----+-------------------------+-------------------------+|tcp| 0.0.0.0| 6666| inboundLiveFlv| flvplayback|+---+---------------+-----+-------------------------+-------------------------+|tcp| 0.0.0.0| 9999| inboundTcpTs| flvplayback|+---+---------------+-----+-------------------------+-------------------------+|tcp| 0.0.0.0| 6665| inboundLiveFlv| proxypublish|+---+---------------+-----+-------------------------+-------------------------+|tcp| 0.0.0.0| 8989| httpEchoProtocol| samplefactory|+---+---------------+-----+-------------------------+-------------------------+|tcp| 0.0.0.0| 8988| echoProtocol| samplefactory|+---+---------------+-----+-------------------------+-------------------------+|tcp| 0.0.0.0| 1111| inboundHttpXmlVariant| vptests|+---+---------------+-----+-------------------------+-------------------------+/home/user/crtmpserver/sources/crtmpserver/src/crtmpserver.cpp:258 GO! GO! GO! (20498)
- crtmpserver的安装
- crtmpserver的安装
- crtmpserver 安装
- crtmpserver的架构简介
- crtmpserver的部署方案
- crtmpserver的协议架构
- crtmpserver的一个bug
- ubuntu12.04编译安装crtmpserver
- crtmpserver
- crtmpserver
- centos6.x上编译安装crtmpserver
- CentOS7安装crtmpserver搭建在线直播平台(crtmpserver开机启动、rtmpd、rtmpserver、rtmp直播)
- crtmpserver流媒体服务器的介绍与搭建
- crtmpserver流媒体服务器的介绍与搭建
- crtmpserver流媒体服务器的介绍与搭建
- crtmpserver流媒体服务器的介绍与搭建
- 最新 crtmpserver 源码的获取方法
- crtmpserver的使用(发布和观看)
- Java Socket:Java-NIO-ServerSocketChannel
- Unrecognized xbean element mapping: beans in namespace http://xfire.codehaus.org/config/1.0
- ORACLE 锁机制
- 淘宝写日志的那些事儿
- 求两个有序数组的中位数(无论数组长度是否一样)
- crtmpserver的安装
- 漫谈大数据仓库与挖掘系统--层次、维度与主题
- Java List排序
- IOS4与IOS5输入框随键盘移动问题
- netbeans窗体居中方法分享,果然时常百度下还是有好处滴
- 2.6 Implementing Range Pickers with UISlider
- 学习笔记:ASP.NET TextBox 服务器控件源码
- 记忆上传的可能性
- 漫谈大数据仓库与挖掘系统:数据的传输和同步