mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the file stream, to file reader and writer. 0.9.142
This commit is contained in:
parent
ed3f9f0a40
commit
1a7735182f
13 changed files with 167 additions and 121 deletions
|
@ -165,8 +165,7 @@ int64_t srs_get_nrecv_bytes(srs_rtmp_t rtmp);
|
|||
*/
|
||||
typedef void* srs_flv_t;
|
||||
typedef int flv_bool;
|
||||
srs_flv_t srs_flv_open_read(const char* file);
|
||||
srs_flv_t srs_flv_open_write(const char* file);
|
||||
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 */
|
||||
int srs_flv_read_header(srs_flv_t flv, char header[9]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue