1
0
Fork 0
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:
winlin 2020-04-07 11:36:26 +08:00
parent b2f0696976
commit 574ae58adc
5 changed files with 20 additions and 9 deletions

View file

@ -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;