胡斌

add trace

... ... @@ -843,13 +843,13 @@ int SrsProtocol::do_decode_message(SrsMessageHeader& header, SrsStream* stream,
return ret;
}
else if (header.is_amf0_command() || header.is_amf3_command()) {
srs_info("decode the AMF0/AMF3 call message.");
srs_trace("decode the AMF0/AMF3 call message:%s",command.c_str());
*ppacket = packet = new SrsCallPacket();
return packet->decode(stream);
}
// default packet to drop message.
srs_info("drop the AMF0/AMF3 command message, command_name=%s", command.c_str());
srs_trace("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()) {
... ... @@ -2717,7 +2717,7 @@ int SrsRtmpServer::identify_client(int stream_id, SrsRtmpConnType& type, string&
continue;
}
srs_trace("ignore AMF0/AMF3 command message.");
srs_trace("identify_client:ignore AMF0/AMF3 command message.");
}
return ret;
... ... @@ -3124,7 +3124,7 @@ int SrsRtmpServer::identify_create_stream_client(SrsCreateStreamPacket* req, int
return identify_create_stream_client(dynamic_cast<SrsCreateStreamPacket*>(pkt), stream_id, type, stream_name, duration);
}
srs_trace("ignore AMF0/AMF3 command message.");
srs_trace("identify_create_stream_client:ignore AMF0/AMF3 command message.");
}
return ret;
... ...