Changeset 5234 for pjproject/trunk/pjmedia/src/pjmedia/stream.c
- Timestamp:
- Jan 15, 2016 3:32:26 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/stream.c
r5187 r5234 1629 1629 if (bytes_read < 0) { 1630 1630 status = (pj_status_t)-bytes_read; 1631 if (status == PJ_STATUS_FROM_OS(OSERR_EWOULDBLOCK)) { 1632 return; 1633 } 1631 1634 if (stream->rtp_rx_last_err != status) { 1632 1635 char errmsg[PJ_ERR_MSG_SIZE]; … … 1895 1898 /* Check for errors */ 1896 1899 if (bytes_read < 0) { 1897 LOGERR_((stream->port.info.name.ptr, "RTCP recv() error", 1898 (pj_status_t)-bytes_read)); 1900 if (bytes_read != -PJ_STATUS_FROM_OS(OSERR_EWOULDBLOCK)) { 1901 LOGERR_((stream->port.info.name.ptr, "RTCP recv() error", 1902 (pj_status_t)-bytes_read)); 1903 } 1899 1904 return; 1900 1905 }
Note: See TracChangeset
for help on using the changeset viewer.