winlin

add rtmp specification

不能预览此文件类型
不能预览此文件类型
不能预览此文件类型
不能预览此文件类型
不能预览此文件类型
... ... @@ -37,3 +37,17 @@ SrsProtocol::~SrsProtocol()
{
}
int SrsProtocol::recv_message(SrsMessage** pmsg)
{
int ret = ERROR_SUCCESS;
return ret;
}
SrsMessage::SrsMessage()
{
}
SrsMessage::~SrsMessage()
{
}
... ...
... ... @@ -32,6 +32,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <st.h>
class SrsMessage;
/**
* the protocol provides the rtmp-message-protocol services,
* to recv RTMP message from RTMP chunk stream,
... ... @@ -45,6 +47,15 @@ public:
SrsProtocol(st_netfd_t client_stfd);
virtual ~SrsProtocol();
public:
virtual int recv_message(SrsMessage** pmsg);
};
class SrsMessage
{
public:
SrsMessage();
virtual ~SrsMessage();
public:
};
#endif
\ No newline at end of file
... ...