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

finish utest of protocol stack. 0.9.156

This commit is contained in:
winlin 2014-07-11 18:08:34 +08:00
parent 8e27df4cf7
commit 9556790a5e
14 changed files with 730 additions and 45 deletions

View file

@ -158,23 +158,23 @@ public:
/**
* only check the frame_type, not check the codec type.
*/
static bool video_is_keyframe(int8_t* data, int size);
static bool video_is_keyframe(char* data, int size);
/**
* check codec h264, keyframe, sequence header
*/
static bool video_is_sequence_header(int8_t* data, int size);
static bool video_is_sequence_header(char* data, int size);
/**
* check codec aac, sequence header
*/
static bool audio_is_sequence_header(int8_t* data, int size);
static bool audio_is_sequence_header(char* data, int size);
/**
* check codec h264.
*/
static bool video_is_h264(int8_t* data, int size);
static bool video_is_h264(char* data, int size);
/**
* check codec aac.
*/
static bool audio_is_aac(int8_t* data, int size);
static bool audio_is_aac(char* data, int size);
};
#endif