mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
ignore the unknown flv tag.
This commit is contained in:
parent
546be09219
commit
bd77f995bf
3 changed files with 19 additions and 2 deletions
|
@ -655,6 +655,12 @@ extern int srs_utils_parse_timestamp(
|
|||
u_int32_t time, char type, char* data, int size,
|
||||
u_int32_t* ppts
|
||||
);
|
||||
|
||||
/**
|
||||
* whether the flv tag specified by param type is ok.
|
||||
* @return true when tag is video/audio/script-data; otherwise, false.
|
||||
*/
|
||||
extern srs_bool srs_utils_flv_tag_is_ok(char type);
|
||||
|
||||
/**
|
||||
* get the CodecID of video tag.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue