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-01-07 15:46:00 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
44f5efda21a54e24c98c0aac202063bcf4dd0a7b
44f5efda
1 parent
0e9c9db3
refine the print info.
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
4 行增加
和
4 行删除
trunk/research/librtmp/srs_rtmp_dump.c
trunk/src/libs/srs_librtmp.cpp
trunk/research/librtmp/srs_rtmp_dump.c
查看文件 @
44f5efd
...
...
@@ -283,7 +283,7 @@ int main(int argc, char** argv)
goto
rtmp_destroy
;
}
}
else
{
srs_human_trace
(
"drop message
size=%dB"
,
size
);
srs_human_trace
(
"drop message
type=%d, size=%dB"
,
type
,
size
);
}
}
...
...
trunk/src/libs/srs_librtmp.cpp
查看文件 @
44f5efd
...
...
@@ -2595,8 +2595,8 @@ int srs_human_print_rtmp_packet(char type, u_int32_t timestamp, char* data, int
u_int32_t
pts
;
if
(
srs_utils_parse_timestamp
(
timestamp
,
type
,
data
,
size
,
&
pts
)
!=
0
)
{
srs_human_trace
(
"Video packet type=%s, dts=%d, pts=%d, size=%d, DecodeError"
,
srs_human_flv_tag_type2string
(
type
),
timestamp
,
pts
,
size
srs_human_trace
(
"Rtmp packet type=%s, dts=%d, size=%d, DecodeError"
,
srs_human_flv_tag_type2string
(
type
),
timestamp
,
size
);
return
ret
;
}
...
...
@@ -2635,7 +2635,7 @@ int srs_human_print_rtmp_packet(char type, u_int32_t timestamp, char* data, int
srs_freep
(
amf0_str
);
}
}
else
{
srs_human_trace
(
"
Unknown
packet type=%#x, dts=%d, pts=%d, size=%d"
,
srs_human_trace
(
"
Rtmp
packet type=%#x, dts=%d, pts=%d, size=%d"
,
type
,
timestamp
,
pts
,
size
);
}
...
...
请
注册
或
登录
后发表评论