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:
parent
eaa222f034
commit
d3bb8b6a86
9 changed files with 73 additions and 33 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue