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.c

    r5614 r5621  
    403403#if defined(PJMEDIA_SRTP_HAS_DTLS) && (PJMEDIA_SRTP_HAS_DTLS != 0) 
    404404#  include "transport_srtp_dtls.c" 
     405#else 
     406PJ_DEF(pj_status_t) pjmedia_transport_srtp_dtls_start_nego( 
     407                                pjmedia_transport *srtp, 
     408                                const pjmedia_srtp_dtls_nego_param *param) 
     409{ 
     410    PJ_UNUSED_ARG(srtp); 
     411    PJ_UNUSED_ARG(param); 
     412    return PJ_ENOTSUP; 
     413} 
     414PJ_DEF(pj_status_t) pjmedia_transport_srtp_dtls_get_fingerprint( 
     415                                pjmedia_transport *srtp, 
     416                                const char *hash, 
     417                                char *buf, pj_size_t *len) 
     418{ 
     419    PJ_UNUSED_ARG(srtp); 
     420    PJ_UNUSED_ARG(hash); 
     421    PJ_UNUSED_ARG(buf); 
     422    PJ_UNUSED_ARG(len); 
     423    return PJ_ENOTSUP; 
     424} 
    405425#endif 
    406426 
Note: See TracChangeset for help on using the changeset viewer.