BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJMEDIA Reference

transport_srtp.h File Reference

Secure RTP (SRTP) transport. More...

Data Structures

struct  pjmedia_srtp_crypto
 
struct  pjmedia_srtp_cb
 
struct  pjmedia_srtp_setting
 
struct  pjmedia_srtp_info
 
struct  pjmedia_srtp_dtls_nego_param
 

Enumerations

enum  pjmedia_srtp_crypto_option {
  PJMEDIA_SRTP_NO_ENCRYPTION = 1,
  PJMEDIA_SRTP_NO_AUTHENTICATION = 2
}
 
enum  pjmedia_srtp_use {
  PJMEDIA_SRTP_DISABLED,
  PJMEDIA_SRTP_OPTIONAL,
  PJMEDIA_SRTP_MANDATORY
}
 
enum  pjmedia_srtp_keying_method {
  PJMEDIA_SRTP_KEYING_SDES,
  PJMEDIA_SRTP_KEYING_DTLS_SRTP,
  PJMEDIA_SRTP_KEYINGS_COUNT
}
 

Functions

pj_status_t pjmedia_srtp_init_lib (pjmedia_endpt *endpt)
 
void pjmedia_srtp_setting_default (pjmedia_srtp_setting *opt)
 
pj_status_t pjmedia_srtp_enum_crypto (unsigned *count, pjmedia_srtp_crypto crypto[])
 
pj_status_t pjmedia_srtp_enum_keying (unsigned *count, pjmedia_srtp_keying_method keying[])
 
pj_status_t pjmedia_transport_srtp_create (pjmedia_endpt *endpt, pjmedia_transport *tp, const pjmedia_srtp_setting *opt, pjmedia_transport **p_tp)
 
pj_status_t pjmedia_transport_srtp_dtls_get_fingerprint (pjmedia_transport *srtp, const char *hash, char *buf, pj_size_t *len)
 
pj_status_t pjmedia_transport_srtp_dtls_start_nego (pjmedia_transport *srtp, const pjmedia_srtp_dtls_nego_param *param)
 
pj_status_t pjmedia_transport_srtp_start (pjmedia_transport *srtp, const pjmedia_srtp_crypto *tx, const pjmedia_srtp_crypto *rx)
 
pj_status_t pjmedia_transport_srtp_stop (pjmedia_transport *srtp)
 
pj_status_t pjmedia_transport_srtp_decrypt_pkt (pjmedia_transport *tp, pj_bool_t is_rtp, void *pkt, int *pkt_len)
 
pjmedia_transportpjmedia_transport_srtp_get_member (pjmedia_transport *srtp)
 

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.