mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine comments for librtmp
This commit is contained in:
parent
c5fcc15989
commit
8acb99f96c
1 changed files with 47 additions and 45 deletions
|
@ -1059,6 +1059,7 @@ typedef void* srs_hijack_io_t;
|
|||
/**
|
||||
* writev of socket.
|
||||
* @return 0, success; otherswise, failed.
|
||||
* @remark We assume that the writev always write all data to peer, like what ST or block-socket done.
|
||||
*/
|
||||
extern int srs_hijack_io_writev(srs_hijack_io_t ctx, const iovec *iov, int iov_size, ssize_t* nwrite);
|
||||
/**
|
||||
|
@ -1075,6 +1076,7 @@ typedef void* srs_hijack_io_t;
|
|||
/**
|
||||
* write bytes to socket.
|
||||
* @return 0, success; otherswise, failed.
|
||||
* @remark We assume that the write always write all data to peer, like what ST or block-socket done.
|
||||
*/
|
||||
extern int srs_hijack_io_write(srs_hijack_io_t ctx, void* buf, size_t size, ssize_t* nwrite);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue