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

@ -175,6 +175,19 @@ srs_error_t SrsFileWriter::lseek(off_t offset, int whence, off_t* seeked)
return srs_success;
}
ISrsFileReaderFactory::ISrsFileReaderFactory()
{
}
ISrsFileReaderFactory::~ISrsFileReaderFactory()
{
}
SrsFileReader* ISrsFileReaderFactory::create_file_reader()
{
return new SrsFileReader();
}
SrsFileReader::SrsFileReader()
{
fd = -1;