mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add miss files. fix bug #60: support aggregate message
This commit is contained in:
parent
f6dd1371bf
commit
8388da6325
12 changed files with 247 additions and 3 deletions
|
@ -1477,6 +1477,11 @@ bool SrsMessageHeader::is_user_control_message()
|
|||
return message_type == RTMP_MSG_UserControlMessage;
|
||||
}
|
||||
|
||||
bool SrsMessageHeader::is_aggregate()
|
||||
{
|
||||
return message_type == RTMP_MSG_AggregateMessage;
|
||||
}
|
||||
|
||||
void SrsMessageHeader::initialize_amf0_script(int size, int stream)
|
||||
{
|
||||
message_type = RTMP_MSG_AMF0DataMessage;
|
||||
|
|
|
@ -277,6 +277,7 @@ public:
|
|||
bool is_ackledgement();
|
||||
bool is_set_chunk_size();
|
||||
bool is_user_control_message();
|
||||
bool is_aggregate();
|
||||
|
||||
void initialize_amf0_script(int size, int stream);
|
||||
void initialize_audio(int size, u_int32_t time, int stream);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue