mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add rtmp specification
This commit is contained in:
parent
9541ac1e35
commit
bd66702299
9 changed files with 25 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue