refine log messages.

pull/133/head
winlin 11 years ago
parent a4410a4fa9
commit 106270c8aa

@ -54,13 +54,13 @@ git clone https://code.csdn.net/winlinvip/srs-csdn.git
<tr>
<td><a href="https://github.com/winlinvip/srs.win" target="_blank">SRS-Windows</a></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>
</tr>
<tr>
<td><a href="https://github.com/winlinvip/srs.librtmp.win" target="_blank">SRS-LIBRTMP-Windows</a></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>
</tr>
</table>

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

@ -713,7 +713,7 @@ int SrsProtocol::do_decode_message(SrsMessageHeader& header, SrsStream* stream,
}
// 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();
return ret;
} else if(header.is_user_control_message()) {

@ -1176,7 +1176,7 @@ int srs_rtmp_expect_message(SrsProtocol* protocol, SrsMessage** pmsg, T** ppacke
T* pkt = dynamic_cast<T*>(packet);
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.timestamp, msg->header.stream_id);
srs_freep(msg);

Loading…
Cancel
Save