mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the srs-librtmp, add hijack get the object.
This commit is contained in:
parent
a94dbecdc4
commit
b28dc7364e
4 changed files with 38 additions and 5 deletions
|
@ -290,6 +290,11 @@ SimpleSocketStream::~SimpleSocketStream()
|
|||
}
|
||||
}
|
||||
|
||||
srs_hijack_io_t SimpleSocketStream::hijack_io()
|
||||
{
|
||||
return io;
|
||||
}
|
||||
|
||||
int SimpleSocketStream::create_socket()
|
||||
{
|
||||
srs_assert(io);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue