diff --git a/trunk/doc/amf0_spec_121207.pdf b/trunk/doc/amf0_spec_121207.pdf new file mode 100644 index 000000000..ec0e9b8e0 Binary files /dev/null and b/trunk/doc/amf0_spec_121207.pdf differ diff --git a/trunk/doc/amf3_spec_121207.pdf b/trunk/doc/amf3_spec_121207.pdf new file mode 100644 index 000000000..3c11d7f48 Binary files /dev/null and b/trunk/doc/amf3_spec_121207.pdf differ diff --git a/trunk/doc/rtmp.part1.Chunk-Stream.pdf b/trunk/doc/rtmp.part1.Chunk-Stream.pdf new file mode 100644 index 000000000..d1338cf05 Binary files /dev/null and b/trunk/doc/rtmp.part1.Chunk-Stream.pdf differ diff --git a/trunk/doc/rtmp.part2.Message-Formats.pdf b/trunk/doc/rtmp.part2.Message-Formats.pdf new file mode 100644 index 000000000..a9957a5a5 Binary files /dev/null and b/trunk/doc/rtmp.part2.Message-Formats.pdf differ diff --git a/trunk/doc/rtmp.part3.Commands-Messages.pdf b/trunk/doc/rtmp.part3.Commands-Messages.pdf new file mode 100644 index 000000000..9f36c4385 Binary files /dev/null and b/trunk/doc/rtmp.part3.Commands-Messages.pdf differ diff --git a/trunk/doc/rtmp_specification_1.0.pdf b/trunk/doc/rtmp_specification_1.0.pdf new file mode 100644 index 000000000..506eb2ae2 Binary files /dev/null and b/trunk/doc/rtmp_specification_1.0.pdf differ diff --git a/trunk/doc/video_file_format_spec_v10_1.pdf b/trunk/doc/video_file_format_spec_v10_1.pdf new file mode 100644 index 000000000..262cff488 Binary files /dev/null and b/trunk/doc/video_file_format_spec_v10_1.pdf differ diff --git a/trunk/src/core/srs_core_protocol.cpp b/trunk/src/core/srs_core_protocol.cpp index 9eb2ce52b..4f4cc8044 100755 --- a/trunk/src/core/srs_core_protocol.cpp +++ b/trunk/src/core/srs_core_protocol.cpp @@ -37,3 +37,17 @@ SrsProtocol::~SrsProtocol() { } +int SrsProtocol::recv_message(SrsMessage** pmsg) +{ + int ret = ERROR_SUCCESS; + return ret; +} + +SrsMessage::SrsMessage() +{ +} + +SrsMessage::~SrsMessage() +{ +} + diff --git a/trunk/src/core/srs_core_protocol.hpp b/trunk/src/core/srs_core_protocol.hpp index 43d7de56b..367506f42 100755 --- a/trunk/src/core/srs_core_protocol.hpp +++ b/trunk/src/core/srs_core_protocol.hpp @@ -32,6 +32,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include +class SrsMessage; + /** * the protocol provides the rtmp-message-protocol services, * to recv RTMP message from RTMP chunk stream, @@ -44,6 +46,15 @@ private: public: SrsProtocol(st_netfd_t client_stfd); virtual ~SrsProtocol(); +public: + virtual int recv_message(SrsMessage** pmsg); +}; + +class SrsMessage +{ +public: + SrsMessage(); + virtual ~SrsMessage(); public: };