正在显示
2 个修改的文件
包含
6 行增加
和
6 行删除
| @@ -303,8 +303,8 @@ int SrsClient::playing(SrsSource* source) | @@ -303,8 +303,8 @@ int SrsClient::playing(SrsSource* source) | ||
| 303 | 303 | ||
| 304 | // reportable | 304 | // reportable |
| 305 | if (pithy_print.can_print()) { | 305 | if (pithy_print.can_print()) { |
| 306 | - srs_trace("-> clock=%u, time=%"PRId64", cmr=%d, msgs=%d, obytes=%"PRId64", ibytes=%"PRId64", okbps=%d, ikbps=%d", | ||
| 307 | - (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()); | 306 | + srs_trace("-> time=%"PRId64", cmr=%d, msgs=%d, obytes=%"PRId64", ibytes=%"PRId64", okbps=%d, ikbps=%d", |
| 307 | + pithy_print.get_age(), ctl_msg_ret, count, rtmp->get_send_bytes(), rtmp->get_recv_bytes(), rtmp->get_send_kbps(), rtmp->get_recv_kbps()); | ||
| 308 | } | 308 | } |
| 309 | 309 | ||
| 310 | if (count <= 0) { | 310 | if (count <= 0) { |
| @@ -366,8 +366,8 @@ int SrsClient::publish(SrsSource* source, bool is_fmle) | @@ -366,8 +366,8 @@ int SrsClient::publish(SrsSource* source, bool is_fmle) | ||
| 366 | 366 | ||
| 367 | // reportable | 367 | // reportable |
| 368 | if (pithy_print.can_print()) { | 368 | if (pithy_print.can_print()) { |
| 369 | - srs_trace("<- clock=%u, time=%"PRId64", obytes=%"PRId64", ibytes=%"PRId64", okbps=%d, ikbps=%d", | ||
| 370 | - (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()); | 369 | + srs_trace("<- time=%"PRId64", obytes=%"PRId64", ibytes=%"PRId64", okbps=%d, ikbps=%d", |
| 370 | + pithy_print.get_age(), rtmp->get_send_bytes(), rtmp->get_recv_bytes(), rtmp->get_send_kbps(), rtmp->get_recv_kbps()); | ||
| 371 | } | 371 | } |
| 372 | 372 | ||
| 373 | if ((ret = process_publish_message(source, msg, is_fmle)) != ERROR_SUCCESS) { | 373 | if ((ret = process_publish_message(source, msg, is_fmle)) != ERROR_SUCCESS) { |
| @@ -288,8 +288,8 @@ int SrsForwarder::forward() | @@ -288,8 +288,8 @@ int SrsForwarder::forward() | ||
| 288 | 288 | ||
| 289 | // reportable | 289 | // reportable |
| 290 | if (pithy_print.can_print()) { | 290 | if (pithy_print.can_print()) { |
| 291 | - srs_trace("-> clock=%u, time=%"PRId64", msgs=%d, obytes=%"PRId64", ibytes=%"PRId64", okbps=%d, ikbps=%d", | ||
| 292 | - (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()); | 291 | + srs_trace("-> time=%"PRId64", msgs=%d, obytes=%"PRId64", ibytes=%"PRId64", okbps=%d, ikbps=%d", |
| 292 | + pithy_print.get_age(), count, client->get_send_bytes(), client->get_recv_bytes(), client->get_send_kbps(), client->get_recv_kbps()); | ||
| 293 | } | 293 | } |
| 294 | 294 | ||
| 295 | // all msgs to forward. | 295 | // all msgs to forward. |
-
请 注册 或 登录 后发表评论