Code Monkey home page Code Monkey logo

Comments (1)

alongL avatar alongL commented on May 30, 2024

独立的话,往哪里推呢?默认是本机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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.