- Timestamp:
- Aug 16, 2018 2:39:36 AM (6 years ago)
- Location:
- pjproject/trunk/pjmedia/src/pjmedia
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/transport_srtp.c
r5857 r5860 1056 1056 PJ_LOG(4, (srtp->pool->obj_name, 1057 1057 "SRTP started, keying=%s, crypto=%s", 1058 ( srtp->keying[0]->type==PJMEDIA_SRTP_KEYING_SDES?1058 ((int)srtp->keying[0]->type==PJMEDIA_SRTP_KEYING_SDES? 1059 1059 "SDES":"DTLS-SRTP"), 1060 1060 srtp->tx_policy.name.ptr)); … … 1652 1652 pj_assert(srtp->keying_cnt == 1); 1653 1653 PJ_LOG(4, (srtp->pool->obj_name, "SRTP uses keying method %s", 1654 ( srtp->keying[0]->type==PJMEDIA_SRTP_KEYING_SDES?1654 ((int)srtp->keying[0]->type==PJMEDIA_SRTP_KEYING_SDES? 1655 1655 "SDES":"DTLS-SRTP"))); 1656 1656 } -
pjproject/trunk/pjmedia/src/pjmedia/transport_srtp_dtls.c
r5855 r5860 190 190 191 191 pj_ansi_strncpy(ds->base.name, pool->obj_name, PJ_MAX_OBJ_NAME); 192 ds->base.type = PJMEDIA_SRTP_KEYING_DTLS_SRTP;192 ds->base.type = (pjmedia_transport_type)PJMEDIA_SRTP_KEYING_DTLS_SRTP; 193 193 ds->base.op = &dtls_op; 194 194 ds->base.user_data = srtp; -
pjproject/trunk/pjmedia/src/pjmedia/transport_srtp_sdes.c
r5855 r5860 79 79 pj_ansi_strncpy(sdes->name, srtp->pool->obj_name, PJ_MAX_OBJ_NAME); 80 80 pj_memcpy(sdes->name, "sdes", 4); 81 sdes->type = PJMEDIA_SRTP_KEYING_SDES;81 sdes->type = (pjmedia_transport_type)PJMEDIA_SRTP_KEYING_SDES; 82 82 sdes->op = &sdes_op; 83 83 sdes->user_data = srtp;
Note: See TracChangeset
for help on using the changeset viewer.