mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #913: TS/HLS/MPEGTS support complex error
This commit is contained in:
parent
20a42599f3
commit
abcaba33ee
24 changed files with 699 additions and 823 deletions
|
@ -63,16 +63,16 @@ public:
|
|||
virtual void set_path(std::string v);
|
||||
// Unlink the fragment, to delete the file.
|
||||
// @remark Ignore any error.
|
||||
virtual int unlink_file();
|
||||
virtual srs_error_t unlink_file();
|
||||
// Create the dir for file recursively.
|
||||
virtual int create_dir();
|
||||
virtual srs_error_t create_dir();
|
||||
public:
|
||||
// Get the temporary path for file.
|
||||
virtual std::string tmppath();
|
||||
// Unlink the temporary file.
|
||||
virtual int unlink_tmpfile();
|
||||
virtual srs_error_t unlink_tmpfile();
|
||||
// Rename the temp file to final file.
|
||||
virtual int rename();
|
||||
virtual srs_error_t rename();
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue