胡斌

Revert "fix bug of report error when receive a amf3 data object"

This reverts commit 94ef3288.

Conflicts:

	trunk/src/protocol/srs_rtmp_stack.cpp
... ... @@ -719,7 +719,7 @@ int SrsProtocol::do_decode_message(SrsMessageHeader& header, SrsBuffer* stream,
srs_verbose("start to decode AMF0/AMF3 command message.");
// skip 1bytes to decode the amf3 command.
if (header.is_amf3_command() && stream->require(1)) {
if (header.is_amf3_command() && stream->require(1)) {
srs_verbose("skip 1bytes to decode AMF3 command");
stream->skip(1);
}
... ... @@ -728,7 +728,7 @@ int SrsProtocol::do_decode_message(SrsMessageHeader& header, SrsBuffer* stream,
// need to read the command name.
std::string command;
if ((ret = srs_amf0_read_string(stream, command)) != ERROR_SUCCESS) {
srs_error("decode AMF0/AMF3 command name failed. message type:%d ret=%d", header.message_type,ret);
srs_error("decode AMF0/AMF3 command name failed. ret=%d", ret);
return ret;
}
srs_verbose("AMF0/AMF3 command message, command_name=%s", command.c_str());
... ...