From d6897205c7136162c00dc36b432a3902ef06a76c Mon Sep 17 00:00:00 2001 From: winlin Date: Mon, 2 Dec 2013 12:56:52 +0800 Subject: [PATCH] add todo for protocol --- trunk/src/core/srs_core_hls.hpp | 1 + trunk/src/core/srs_core_protocol.hpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/trunk/src/core/srs_core_hls.hpp b/trunk/src/core/srs_core_hls.hpp index 286e1a835..9da6db5fa 100644 --- a/trunk/src/core/srs_core_hls.hpp +++ b/trunk/src/core/srs_core_hls.hpp @@ -159,6 +159,7 @@ private: virtual int flush_audio(); }; +//TODO: refine the ts muxer, do more jobs. class SrsTSMuxer { private: diff --git a/trunk/src/core/srs_core_protocol.hpp b/trunk/src/core/srs_core_protocol.hpp index 95784c6b3..fe52d5872 100644 --- a/trunk/src/core/srs_core_protocol.hpp +++ b/trunk/src/core/srs_core_protocol.hpp @@ -326,6 +326,7 @@ public: /** * decode packet from message payload. */ + // TODO: use protocol to decode it. virtual int decode_packet(SrsProtocol* protocol); /** * get the decoded packet which decoded by decode_packet(). @@ -345,6 +346,7 @@ public: * @stream_id, the id of stream which is created by createStream. * @remark, user never free the pkt, the message will auto free it. */ + // TODO: refine the send methods. virtual void set_packet(SrsPacket* pkt, int stream_id); /** * encode the packet to message payload bytes.