Changeset 2360 for pjproject/trunk/pjmedia/src/pjmedia/transport_srtp.c
- Timestamp:
- Oct 31, 2008 4:26:27 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/transport_srtp.c
r2353 r2360 799 799 800 800 if (srtp->bypass_srtp) { 801 srtp->rtp_cb(srtp->user_data, pkt, size); 801 /* Callback may be NULL if we receive stray packets (or when packet 802 * is received while we're being detached/re-attached). 803 */ 804 if (srtp->rtp_cb) { 805 srtp->rtp_cb(srtp->user_data, pkt, size); 806 } 802 807 return; 803 808 } … … 859 864 860 865 if (srtp->bypass_srtp) { 866 /* Callback may be NULL if we receive stray packets (or when packet 867 * is received while we're being detached/re-attached). 868 */ 861 869 srtp->rtcp_cb(srtp->user_data, pkt, size); 862 870 return;
Note: See TracChangeset
for help on using the changeset viewer.