From 044138c39e37baf7c2625afc7afeb1eb3b9af0dc Mon Sep 17 00:00:00 2001 From: winlin Date: Sat, 8 Mar 2014 23:02:27 +0800 Subject: [PATCH] refine summary for amf0 hpp --- trunk/src/rtmp/srs_protocol_amf0.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/trunk/src/rtmp/srs_protocol_amf0.hpp b/trunk/src/rtmp/srs_protocol_amf0.hpp index 0986ce3b5..e079948a5 100644 --- a/trunk/src/rtmp/srs_protocol_amf0.hpp +++ b/trunk/src/rtmp/srs_protocol_amf0.hpp @@ -62,6 +62,12 @@ class __SrsAmf0ObjectEOF; // SrsAmf0Object* obj = SrsAmf0Any::object(); // 5. SrsAmf0EcmaArray: create the amf0 ecma array. // SrsAmf0EcmaArray* arr = SrsAmf0Any::ecma_array(); +// +// please carefully the size and count of amf0 any: +// 1. total_size(): the total memory size the object wrote to buffer. +// 2. count(): the total element count of object, for instance, the properties +// of amf0 object, used for key_at/value_at loop. +// // for detail usage, see interfaces of each object. //////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////