Comments (1)
独立的话,往哪里推呢?默认是本机1935端口。
this->rtmp = "rtmp://127.0.0.1:" + rtmp_port + dest;
如果不往127.0.0.1推,可能需要修改一下接口。
srs的启动在int ProxytaskMgr::init()这个函数里面
把srs启动这一块注释掉,就不启动了。
// start srs
if (0 != m_srs_process->start())
{
printf("srs start failed.\n");
return -1;
}
else
printf("srs start sucess.\n");
int ProxytaskMgr::check(int timecnt)
注释掉这里,不再检查srs是否运行。
//检查srs是否正在运行
if (m_srs_process)
{
m_srs_process->cycle();//检查
m_srs_process->start();//启动。内部有标志,如果未在运行才运行程序
}
上面2个操作之后,srs就不会再运行了。
安装这个不不用安装吧。编译好之后就可以运行了。
如果需要适配,可以谈一谈(^^)
from srs_ingest_helper.
Related Issues (7)
- api请求不了 HOT 1
- 拉流能不能暂停 HOT 3
- 只要你访问8086,就自动停止 HOT 4
- 请问下程序编译报错 HOT 1
- 请问一下添加rtsp地址进行转码的时候报Protocol not found错误是什么原因呢? HOT 1
- 二进制安装的srs_ingest_helper 启动后,浏览器访问http://ip:8086 服务就宕了 这是为什么啊? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from srs_ingest_helper.