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

for #742, refine the io interfaces.

This commit is contained in:
winlin 2017-01-30 19:59:59 +08:00
parent eaa222f034
commit d3bb8b6a86
9 changed files with 73 additions and 33 deletions

View file

@ -341,7 +341,7 @@ int SimpleSocketStream::connect(const char* server_ip, int port)
return srs_hijack_io_connect(io, server_ip, port);
}
// ISrsBufferReader
// ISrsReader
int SimpleSocketStream::read(void* buf, size_t size, ssize_t* nread)
{
srs_assert(io);