add rtmp specification

pull/133/head
winlin 11 years ago
parent 9541ac1e35
commit bd66702299

Binary file not shown.

Binary file not shown.

@ -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,
@ -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:
};

Loading…
Cancel
Save