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

refine dvr, append file when dvr file exists. 2.0.122.

This commit is contained in:
winlin 2015-02-19 19:50:10 +08:00
parent 1102c7a58f
commit a984eeecab
10 changed files with 79 additions and 17 deletions

View file

@ -47,6 +47,10 @@ public:
* open file writer, can open then close then open...
*/
virtual int open(std::string file);
/**
* open file writer in append mode.
*/
virtual int open_append(std::string file);
virtual void close();
public:
virtual bool is_open();