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
2013-11-29 22:39:50 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
28572b009a5113d119d153b779fa3c9c0b6f1147
28572b00
1 parent
23e42cde
remove the clock msg from log
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
6 行增加
和
6 行删除
trunk/src/core/srs_core_client.cpp
trunk/src/core/srs_core_forward.cpp
trunk/src/core/srs_core_client.cpp
查看文件 @
28572b0
...
...
@@ -303,8 +303,8 @@ int SrsClient::playing(SrsSource* source)
// reportable
if
(
pithy_print
.
can_print
())
{
srs_trace
(
"-> clock=%u, time=%"
PRId64
", cmr=%d, msgs=%d, obytes=%"
PRId64
", ibytes=%"
PRId64
", okbps=%d, ikbps=%d"
,
(
int
)(
srs_get_system_time_ms
()
/
1000
),
pithy_print
.
get_age
(),
ctl_msg_ret
,
count
,
rtmp
->
get_send_bytes
(),
rtmp
->
get_recv_bytes
(),
rtmp
->
get_send_kbps
(),
rtmp
->
get_recv_kbps
());
srs_trace
(
"-> time=%"
PRId64
", cmr=%d, msgs=%d, obytes=%"
PRId64
", ibytes=%"
PRId64
", okbps=%d, ikbps=%d"
,
pithy_print
.
get_age
(),
ctl_msg_ret
,
count
,
rtmp
->
get_send_bytes
(),
rtmp
->
get_recv_bytes
(),
rtmp
->
get_send_kbps
(),
rtmp
->
get_recv_kbps
());
}
if
(
count
<=
0
)
{
...
...
@@ -366,8 +366,8 @@ int SrsClient::publish(SrsSource* source, bool is_fmle)
// reportable
if
(
pithy_print
.
can_print
())
{
srs_trace
(
"<- clock=%u, time=%"
PRId64
", obytes=%"
PRId64
", ibytes=%"
PRId64
", okbps=%d, ikbps=%d"
,
(
int
)(
srs_get_system_time_ms
()
/
1000
),
pithy_print
.
get_age
(),
rtmp
->
get_send_bytes
(),
rtmp
->
get_recv_bytes
(),
rtmp
->
get_send_kbps
(),
rtmp
->
get_recv_kbps
());
srs_trace
(
"<- time=%"
PRId64
", obytes=%"
PRId64
", ibytes=%"
PRId64
", okbps=%d, ikbps=%d"
,
pithy_print
.
get_age
(),
rtmp
->
get_send_bytes
(),
rtmp
->
get_recv_bytes
(),
rtmp
->
get_send_kbps
(),
rtmp
->
get_recv_kbps
());
}
if
((
ret
=
process_publish_message
(
source
,
msg
,
is_fmle
))
!=
ERROR_SUCCESS
)
{
...
...
trunk/src/core/srs_core_forward.cpp
查看文件 @
28572b0
...
...
@@ -288,8 +288,8 @@ int SrsForwarder::forward()
// reportable
if
(
pithy_print
.
can_print
())
{
srs_trace
(
"-> clock=%u, time=%"
PRId64
", msgs=%d, obytes=%"
PRId64
", ibytes=%"
PRId64
", okbps=%d, ikbps=%d"
,
(
int
)(
srs_get_system_time_ms
()
/
1000
),
pithy_print
.
get_age
(),
count
,
client
->
get_send_bytes
(),
client
->
get_recv_bytes
(),
client
->
get_send_kbps
(),
client
->
get_recv_kbps
());
srs_trace
(
"-> time=%"
PRId64
", msgs=%d, obytes=%"
PRId64
", ibytes=%"
PRId64
", okbps=%d, ikbps=%d"
,
pithy_print
.
get_age
(),
count
,
client
->
get_send_bytes
(),
client
->
get_recv_bytes
(),
client
->
get_send_kbps
(),
client
->
get_recv_kbps
());
}
// all msgs to forward.
...
...
请
注册
或
登录
后发表评论