Changeset 5845 for pjproject/trunk/pjmedia/src/pjmedia/transport_srtp.c
- Timestamp:
- Jul 26, 2018 7:19:39 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/transport_srtp.c
r5811 r5845 1190 1190 if (!srtp->session_inited) { 1191 1191 pj_lock_release(srtp->mutex); 1192 return PJ _EINVALIDOP;1192 return PJMEDIA_SRTP_EKEYNOTREADY; 1193 1193 } 1194 1194 err = srtp_protect(srtp->srtp_tx_ctx, srtp->rtp_tx_buffer, &len); … … 1236 1236 if (!srtp->session_inited) { 1237 1237 pj_lock_release(srtp->mutex); 1238 return PJ _EINVALIDOP;1238 return PJMEDIA_SRTP_EKEYNOTREADY; 1239 1239 } 1240 1240 err = srtp_protect_rtcp(srtp->srtp_tx_ctx, srtp->rtcp_tx_buffer, &len);
Note: See TracChangeset
for help on using the changeset viewer.