1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

For #370, use round-trip to send on all fds

This commit is contained in:
winlin 2020-04-12 17:19:49 +08:00
parent 37e2f8896c
commit 82579e4b0c
2 changed files with 15 additions and 11 deletions

View file

@ -240,7 +240,7 @@ private:
srs_cond_t cond;
bool waiting_msgs;
// TODO: FIXME: Support multiple stfd.
srs_netfd_t mmstfd;
std::vector<srs_netfd_t> stfds;
// Hotspot msgs, we are working on it.
// @remark We will wait util all messages are ready.
std::vector<mmsghdr> hotspot;