Changeset 4197 for pjproject/trunk/pjmedia/src/pjmedia/transport_udp.c
- Timestamp:
- Jul 5, 2012 7:26:29 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/transport_udp.c
r3841 r4197 30 30 31 31 /* Maximum size of incoming RTP packet */ 32 #define RTP_LEN PJMEDIA_MAX_M TU32 #define RTP_LEN PJMEDIA_MAX_MRU 33 33 34 34 /* Maximum size of incoming RTCP packet */ … … 43 43 typedef struct pending_write 44 44 { 45 char buffer[ RTP_LEN];45 char buffer[PJMEDIA_MAX_MTU]; 46 46 pj_ioqueue_op_key_t op_key; 47 47 } pending_write; … … 753 753 754 754 /* Check that the size is supported */ 755 PJ_ASSERT_RETURN(size <= RTP_LEN, PJ_ETOOBIG);755 PJ_ASSERT_RETURN(size <= PJMEDIA_MAX_MTU, PJ_ETOOBIG); 756 756 757 757 /* Simulate packet lost on TX direction */
Note: See TracChangeset
for help on using the changeset viewer.