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

refine the librtmp, open writer then reader.

This commit is contained in:
winlin 2014-06-29 17:12:10 +08:00
parent 1a7735182f
commit 1eee4d25cf
2 changed files with 11 additions and 10 deletions

View file

@ -165,6 +165,7 @@ int64_t srs_get_nrecv_bytes(srs_rtmp_t rtmp);
*/
typedef void* srs_flv_t;
typedef int flv_bool;
/* open flv file for both read/write. */
srs_flv_t srs_flv_open(const char* file);
void srs_flv_close(srs_flv_t flv);
/* read the flv header. 9bytes header. drop the 4bytes zero previous tag size */