Changeset 402 for pjproject/trunk
- Timestamp:
- Apr 19, 2006 2:45:08 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/stream.c
r397 r402 509 509 goto read_next_packet; 510 510 511 if (bytes_read < 0) 512 goto read_next_packet; 511 513 512 514 /* Update RTP and RTCP session. */ … … 590 592 &stream->rtp_addrlen); 591 593 592 } while (status == PJ_SUCCESS); 594 if (status != PJ_SUCCESS) { 595 bytes_read = -status; 596 } 597 598 } while (status == PJ_SUCCESS || 599 status == PJ_STATUS_FROM_OS(OSERR_ECONNRESET)); 593 600 594 601 if (status != PJ_SUCCESS && status != PJ_EPENDING) { … … 596 603 597 604 pj_strerror(status, errmsg, sizeof(errmsg)); 598 PJ_LOG(4,(THIS_FILE, "Error reading RTP packet: %s [status=%d]", 605 PJ_LOG(4,(THIS_FILE, "Error reading RTP packet: %s [status=%d]. " 606 "RTP stream thread quitting!", 599 607 errmsg, status)); 600 608 }
Note: See TracChangeset
for help on using the changeset viewer.