1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

refine log messages.

This commit is contained in:
winlin 2014-05-04 11:11:51 +08:00
parent a4410a4fa9
commit 106270c8aa
4 changed files with 5 additions and 5 deletions

View file

@ -54,13 +54,13 @@ git clone https://code.csdn.net/winlinvip/srs-csdn.git
<tr> <tr>
<td><a href="https://github.com/winlinvip/srs.win" target="_blank">SRS-Windows</a></td> <td><a href="https://github.com/winlinvip/srs.win" target="_blank">SRS-Windows</a></td>
<td>SRS服务器<br/>Windows平台分支</td> <td>SRS服务器<br/>Windows平台分支</td>
<td><a href="https://github.com/suhetao" target="_blank">suhetao</a></td> <td><a href="https://github.com/suhetao" target="_blank">suhetao<br/>核桃</a></td>
<td><a href="https://github.com/suhetao" target="_blank">suhetao(suhetao@gmail.com)</a></td> <td><a href="https://github.com/suhetao" target="_blank">suhetao(suhetao@gmail.com)</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="https://github.com/winlinvip/srs.librtmp.win" target="_blank">SRS-LIBRTMP-Windows</a></td> <td><a href="https://github.com/winlinvip/srs.librtmp.win" target="_blank">SRS-LIBRTMP-Windows</a></td>
<td>SRS-LIBRTMP客户端库<br/>Windows平台分支</td> <td>SRS-LIBRTMP客户端库<br/>Windows平台分支</td>
<td><a href="https://github.com/chadwangcn" target="_blank">chad.wang</a></td> <td><a href="https://github.com/chadwangcn" target="_blank">chad.wang<br/>videoWorker</a></td>
<td><a href="https://github.com/chadwangcn" target="_blank">chad.wang(chad.wang.cn@gmail.com)</a></td> <td><a href="https://github.com/chadwangcn" target="_blank">chad.wang(chad.wang.cn@gmail.com)</a></td>
</tr> </tr>
</table> </table>

View file

@ -166,7 +166,7 @@ failed:
} }
handler->on_thread_stop(); handler->on_thread_stop();
srs_trace("thread cycle finished"); srs_info("thread cycle finished");
} }
void* SrsThread::thread_fun(void* arg) void* SrsThread::thread_fun(void* arg)

View file

@ -713,7 +713,7 @@ int SrsProtocol::do_decode_message(SrsMessageHeader& header, SrsStream* stream,
} }
// default packet to drop message. // default packet to drop message.
srs_trace("drop the AMF0/AMF3 command message, command_name=%s", command.c_str()); srs_info("drop the AMF0/AMF3 command message, command_name=%s", command.c_str());
*ppacket = packet = new SrsPacket(); *ppacket = packet = new SrsPacket();
return ret; return ret;
} else if(header.is_user_control_message()) { } else if(header.is_user_control_message()) {

View file

@ -1176,7 +1176,7 @@ int srs_rtmp_expect_message(SrsProtocol* protocol, SrsMessage** pmsg, T** ppacke
T* pkt = dynamic_cast<T*>(packet); T* pkt = dynamic_cast<T*>(packet);
if (!pkt) { if (!pkt) {
srs_trace("drop message(type=%d, size=%d, time=%"PRId64", sid=%d).", srs_info("drop message(type=%d, size=%d, time=%"PRId64", sid=%d).",
msg->header.message_type, msg->header.payload_length, msg->header.message_type, msg->header.payload_length,
msg->header.timestamp, msg->header.stream_id); msg->header.timestamp, msg->header.stream_id);
srs_freep(msg); srs_freep(msg);