mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine log messages.
This commit is contained in:
parent
a4410a4fa9
commit
106270c8aa
4 changed files with 5 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue