diff --git a/daemon/src/video/socket_pair.cpp b/daemon/src/video/socket_pair.cpp index f370ac420022afc5104aa3db63973c7cf225d419..08cf7fbb15c9b41a22acf89855541dfb0524de69 100644 --- a/daemon/src/video/socket_pair.cpp +++ b/daemon/src/video/socket_pair.cpp @@ -232,6 +232,8 @@ int SocketPair::readCallback(void *opaque, uint8_t *buf, int buf_size) /* build fdset to listen to RTP and RTCP packets */ n = poll(p, 2, NET_POLL_TIMEOUT); if (n > 0) { +// FIXME:WORKAROUND: prevent excessive packet loss +#if 0 /* first try RTCP */ if (p[1].revents & POLLIN) { from_len = sizeof(from); @@ -248,6 +250,7 @@ int SocketPair::readCallback(void *opaque, uint8_t *buf, int buf_size) } break; } +#endif /* then RTP */ if (p[0].revents & POLLIN) { from_len = sizeof(from);