1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

implements basic edge(play and publish), with bug

This commit is contained in:
winlin 2014-04-27 12:28:45 +08:00
parent 79c9c6dcb7
commit 16319d73fd
6 changed files with 112 additions and 38 deletions

View file

@ -1202,6 +1202,11 @@ bool SrsMessageHeader::is_window_ackledgement_size()
return message_type == RTMP_MSG_WindowAcknowledgementSize;
}
bool SrsMessageHeader::is_ackledgement()
{
return message_type == RTMP_MSG_Acknowledgement;
}
bool SrsMessageHeader::is_set_chunk_size()
{
return message_type == RTMP_MSG_SetChunkSize;

View file

@ -236,6 +236,7 @@ struct SrsMessageHeader
bool is_amf3_command();
bool is_amf3_data();
bool is_window_ackledgement_size();
bool is_ackledgement();
bool is_set_chunk_size();
bool is_user_control_message();