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 16:00:11 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a242aa35dc102086a9f133aa06f73d0550085bcc
a242aa35
1 parent
2a4b448c
add pid to srs rtmp dump
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
5 行增加
和
2 行删除
trunk/src/libs/srs_librtmp.cpp
trunk/src/libs/srs_librtmp.hpp
trunk/src/libs/srs_librtmp.cpp
查看文件 @
a242aa3
...
...
@@ -28,6 +28,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213
#ifndef _WIN32
#include <sys/time.h>
#include <unistd.h>
#endif
#include <string>
...
...
trunk/src/libs/srs_librtmp.hpp
查看文件 @
a242aa3
...
...
@@ -927,8 +927,8 @@ extern const char* srs_human_format_time();
#define srs_human_verbose(msg, ...) (void)0
#define srs_human_raw(msg, ...) (void)0
#else
#define srs_human_trace(msg, ...) printf("[%s] ", srs_human_format_time());printf(msg, ##__VA_ARGS__);printf("\n")
#define srs_human_verbose(msg, ...) printf("[%s] ", srs_human_format_time());printf(msg, ##__VA_ARGS__);printf("\n")
#define srs_human_trace(msg, ...) printf("[%s][%d] ", srs_human_format_time(), getpid());printf(msg, ##__VA_ARGS__);printf("\n")
#define srs_human_verbose(msg, ...) printf("[%s][%d] ", srs_human_format_time(), getpid());printf(msg, ##__VA_ARGS__);printf("\n")
#define srs_human_raw(msg, ...) printf(msg, ##__VA_ARGS__)
#endif
...
...
@@ -943,6 +943,8 @@ typedef void* srs_hijack_io_t;
#ifndef _WIN32
// for iovec.
#include <sys/uio.h>
// for getpid.
#include <unistd.h>
#endif
/**
* get the hijack io object in rtmp protocol sdk.
...
...
请
注册
或
登录
后发表评论