胡斌

add trace

@@ -843,13 +843,13 @@ int SrsProtocol::do_decode_message(SrsMessageHeader& header, SrsStream* stream, @@ -843,13 +843,13 @@ int SrsProtocol::do_decode_message(SrsMessageHeader& header, SrsStream* stream,
843 return ret; 843 return ret;
844 } 844 }
845 else if (header.is_amf0_command() || header.is_amf3_command()) { 845 else if (header.is_amf0_command() || header.is_amf3_command()) {
846 - srs_info("decode the AMF0/AMF3 call message."); 846 + srs_trace("decode the AMF0/AMF3 call message:%s",command.c_str());
847 *ppacket = packet = new SrsCallPacket(); 847 *ppacket = packet = new SrsCallPacket();
848 return packet->decode(stream); 848 return packet->decode(stream);
849 } 849 }
850 850
851 // default packet to drop message. 851 // default packet to drop message.
852 - srs_info("drop the AMF0/AMF3 command message, command_name=%s", command.c_str()); 852 + srs_trace("drop the AMF0/AMF3 command message, command_name=%s", command.c_str());
853 *ppacket = packet = new SrsPacket(); 853 *ppacket = packet = new SrsPacket();
854 return ret; 854 return ret;
855 } else if(header.is_user_control_message()) { 855 } else if(header.is_user_control_message()) {
@@ -2717,7 +2717,7 @@ int SrsRtmpServer::identify_client(int stream_id, SrsRtmpConnType& type, string& @@ -2717,7 +2717,7 @@ int SrsRtmpServer::identify_client(int stream_id, SrsRtmpConnType& type, string&
2717 continue; 2717 continue;
2718 } 2718 }
2719 2719
2720 - srs_trace("ignore AMF0/AMF3 command message."); 2720 + srs_trace("identify_client:ignore AMF0/AMF3 command message.");
2721 } 2721 }
2722 2722
2723 return ret; 2723 return ret;
@@ -3124,7 +3124,7 @@ int SrsRtmpServer::identify_create_stream_client(SrsCreateStreamPacket* req, int @@ -3124,7 +3124,7 @@ int SrsRtmpServer::identify_create_stream_client(SrsCreateStreamPacket* req, int
3124 return identify_create_stream_client(dynamic_cast<SrsCreateStreamPacket*>(pkt), stream_id, type, stream_name, duration); 3124 return identify_create_stream_client(dynamic_cast<SrsCreateStreamPacket*>(pkt), stream_id, type, stream_name, duration);
3125 } 3125 }
3126 3126
3127 - srs_trace("ignore AMF0/AMF3 command message."); 3127 + srs_trace("identify_create_stream_client:ignore AMF0/AMF3 command message.");
3128 } 3128 }
3129 3129
3130 return ret; 3130 return ret;