Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2015-08-24 22:26:19 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
039af7243caf56522854e603e519cb16604ee3bd
039af724
1 parent
6fe88d08
for #367, refine the comments for process.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
5 行增加
和
0 行删除
trunk/src/app/srs_app_process.hpp
trunk/src/app/srs_app_process.hpp
查看文件 @
039af72
...
...
@@ -35,6 +35,11 @@
/**
* to start and stop a process, cycle to restart the process when terminated.
* the usage:
* // the binary is the process to fork.
* binary = "./objs/ffmpeg/bin/ffmpeg";
* // where argv is a array contains each params.
* argv = ["-i", "in.flv", "1", ">", "/dev/null", "2", ">", "/dev/null"];
*
* process = new SrsProcess();
* if ((ret = process->initialize(binary, argv)) != ERROR_SUCCESS) { return ret; }
* if ((ret = process->start()) != ERROR_SUCCESS) { return ret; }
...
...
请
注册
或
登录
后发表评论