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

Add test for http basic handler

This commit is contained in:
winlin 2019-12-16 19:32:41 +08:00
parent 6bad973a7c
commit fa362607b2
6 changed files with 161 additions and 28 deletions

View file

@ -35,6 +35,8 @@
#include <sys/uio.h>
#endif
class SrsFileReader;
/**
* file writer, to write to file.
*/
@ -73,6 +75,16 @@ public:
virtual srs_error_t lseek(off_t offset, int whence, off_t* seeked);
};
// The file reader factory.
class ISrsFileReaderFactory
{
public:
ISrsFileReaderFactory();
virtual ~ISrsFileReaderFactory();
public:
virtual SrsFileReader* create_file_reader();
};
/**
* file reader, to read from file.
*/