Ignore:
Timestamp:
Jul 5, 2017 5:37:24 AM (3 years ago)
Author:
nanang
Message:

Re #2018: Added API pjmedia_transport_srtp_dtls_start_nego() to start DTLS-SRTP nego without SDP offer/answer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/transport_srtp_sdes.c

    r5617 r5621  
    7777 
    7878    sdes = PJ_POOL_ZALLOC_T(srtp->pool, pjmedia_transport); 
    79     pj_ansi_strncpy(sdes->name, "SDES", PJ_MAX_OBJ_NAME); 
     79    pj_ansi_strncpy(sdes->name, srtp->pool->obj_name, PJ_MAX_OBJ_NAME); 
     80    pj_memcpy(sdes->name, "sdes", 4); 
    8081    sdes->type = PJMEDIA_TRANSPORT_TYPE_SRTP; 
    8182    sdes->op = &sdes_op; 
     
    8384 
    8485    *p_keying = sdes; 
    85     PJ_LOG(5,(THIS_FILE, "SRTP keying SDES created")); 
     86    PJ_LOG(5,(srtp->pool->obj_name, "SRTP keying SDES created")); 
    8687    return PJ_SUCCESS; 
    8788} 
Note: See TracChangeset for help on using the changeset viewer.