- Timestamp:
- Jan 15, 2016 3:32:26 AM (9 years ago)
- Location:
- pjproject/trunk/pjmedia/src/pjmedia
- Files:
-
- 2 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 } -
pjproject/trunk/pjmedia/src/pjmedia/vid_stream.c
r5101 r5234 608 608 if (bytes_read < 0) { 609 609 status = (pj_status_t)-bytes_read; 610 if (status == PJ_STATUS_FROM_OS(OSERR_EWOULDBLOCK)) { 611 return; 612 } 610 613 if (stream->rtp_rx_last_err != status) { 611 614 char errmsg[PJ_ERR_MSG_SIZE]; … … 787 790 /* Check for errors */ 788 791 if (bytes_read < 0) { 789 LOGERR_((stream->cname.ptr, "RTCP recv() error", 790 (pj_status_t)-bytes_read)); 792 if (bytes_read != -PJ_STATUS_FROM_OS(OSERR_EWOULDBLOCK)) { 793 LOGERR_((stream->cname.ptr, "RTCP recv() error", 794 (pj_status_t)-bytes_read)); 795 } 791 796 return; 792 797 }
Note: See TracChangeset
for help on using the changeset viewer.