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
BIN
trunk/doc/amf0_spec_121207.pdf
Normal file
BIN
trunk/doc/amf0_spec_121207.pdf
Normal file
Binary file not shown.
BIN
trunk/doc/amf3_spec_121207.pdf
Normal file
BIN
trunk/doc/amf3_spec_121207.pdf
Normal file
Binary file not shown.
BIN
trunk/doc/rtmp.part1.Chunk-Stream.pdf
Normal file
BIN
trunk/doc/rtmp.part1.Chunk-Stream.pdf
Normal file
Binary file not shown.
BIN
trunk/doc/rtmp.part2.Message-Formats.pdf
Normal file
BIN
trunk/doc/rtmp.part2.Message-Formats.pdf
Normal file
Binary file not shown.
BIN
trunk/doc/rtmp.part3.Commands-Messages.pdf
Normal file
BIN
trunk/doc/rtmp.part3.Commands-Messages.pdf
Normal file
Binary file not shown.
BIN
trunk/doc/rtmp_specification_1.0.pdf
Normal file
BIN
trunk/doc/rtmp_specification_1.0.pdf
Normal file
Binary file not shown.
BIN
trunk/doc/video_file_format_spec_v10_1.pdf
Normal file
BIN
trunk/doc/video_file_format_spec_v10_1.pdf
Normal file
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>
|
#include <st.h>
|
||||||
|
|
||||||
|
class SrsMessage;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* the protocol provides the rtmp-message-protocol services,
|
* the protocol provides the rtmp-message-protocol services,
|
||||||
* to recv RTMP message from RTMP chunk stream,
|
* to recv RTMP message from RTMP chunk stream,
|
||||||
|
@ -44,6 +46,15 @@ private:
|
||||||
public:
|
public:
|
||||||
SrsProtocol(st_netfd_t client_stfd);
|
SrsProtocol(st_netfd_t client_stfd);
|
||||||
virtual ~SrsProtocol();
|
virtual ~SrsProtocol();
|
||||||
|
public:
|
||||||
|
virtual int recv_message(SrsMessage** pmsg);
|
||||||
|
};
|
||||||
|
|
||||||
|
class SrsMessage
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
SrsMessage();
|
||||||
|
virtual ~SrsMessage();
|
||||||
public:
|
public:
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue