mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #742, refine the file reader and writer interface.
This commit is contained in:
parent
bb5bd0ee1c
commit
eaa222f034
13 changed files with 138 additions and 69 deletions
|
@ -201,7 +201,7 @@ public:
|
|||
* for the HTTP FLV, to writev to improve performance.
|
||||
* @see https://github.com/ossrs/srs/issues/405
|
||||
*/
|
||||
virtual int writev(iovec* iov, int iovcnt, ssize_t* pnwrite) = 0;
|
||||
virtual int writev(const iovec* iov, int iovcnt, ssize_t* pnwrite) = 0;
|
||||
|
||||
// WriteHeader sends an HTTP response header with status code.
|
||||
// If WriteHeader is not called explicitly, the first call to Write
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue