mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #307, support mock server eip by API
This commit is contained in:
parent
b2f0696976
commit
574ae58adc
5 changed files with 20 additions and 9 deletions
|
@ -429,7 +429,7 @@ int srs_sendmmsg(srs_netfd_t stfd, struct mmsghdr *msgvec, unsigned int vlen, in
|
|||
return vlen;
|
||||
#else
|
||||
if (vlen == 1) {
|
||||
#if 0
|
||||
#if 1
|
||||
int r0 = srs_sendmsg(stfd, &msgvec->msg_hdr, flags, timeout);
|
||||
if (r0 < 0) {
|
||||
return r0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue