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

Refine srs-librtmp

This commit is contained in:
winlin 2017-03-01 18:09:07 +08:00
parent 1743899a23
commit 7680ac04ad
2 changed files with 64 additions and 3 deletions

View file

@ -308,6 +308,7 @@ extern int srs_rtmp_bandwidth_check(srs_rtmp_t rtmp,
extern int srs_rtmp_read_packet(srs_rtmp_t rtmp,
char* type, uint32_t* timestamp, char** data, int* size
);
// @Param data User should never free it anymore.
extern int srs_rtmp_write_packet(srs_rtmp_t rtmp,
char type, uint32_t timestamp, char* data, int size
);