mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
donot mix the read and write for librtmp
This commit is contained in:
parent
1eee4d25cf
commit
a888e52df1
8 changed files with 58 additions and 16 deletions
|
@ -165,6 +165,11 @@ void SrsFileReader::close()
|
|||
return;
|
||||
}
|
||||
|
||||
bool SrsFileReader::is_open()
|
||||
{
|
||||
return fd > 0;
|
||||
}
|
||||
|
||||
int64_t SrsFileReader::tellg()
|
||||
{
|
||||
return (int64_t)::lseek(fd, 0, SEEK_CUR);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue