mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add srs_rtmp_free_packet for srs-librtmp
This commit is contained in:
parent
7acc3aca16
commit
0e6f7e66f0
2 changed files with 11 additions and 0 deletions
|
@ -1115,6 +1115,11 @@ int srs_rtmp_write_packet(srs_rtmp_t rtmp, char type, u_int32_t timestamp, char*
|
|||
|
||||
return ret;
|
||||
}
|
||||
|
||||
void srs_rtmp_free_packet(char* data)
|
||||
{
|
||||
srs_freepa(data);
|
||||
}
|
||||
|
||||
srs_bool srs_rtmp_is_onMetaData(char type, char* data, int size)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue