Ignore:
Timestamp:
Mar 11, 2008 9:38:05 PM (14 years ago)
Author:
bennylp
Message:

Ticket #479: allow media transport framework to return transport specific info (for example, to know whether SRTP is enabled)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/transport_srtp.h

    r1763 r1860  
    161161 
    162162/** 
     163 * This structure specifies SRTP transport specific info. This will fit 
     164 * into \a buffer field of pjmedia_transport_specific_info. 
     165 */ 
     166typedef struct pjmedia_srtp_info 
     167{ 
     168    /** 
     169     * Specify whether the SRTP transport is active for SRTP session. 
     170     */ 
     171    pj_bool_t                   active; 
     172 
     173    /** 
     174     * Specify the policy used by the SRTP session for receive direction. 
     175     */ 
     176    pjmedia_srtp_crypto         rx_policy; 
     177 
     178    /** 
     179     * Specify the policy used by the SRTP session for transmit direction. 
     180     */ 
     181    pjmedia_srtp_crypto         tx_policy; 
     182 
     183} pjmedia_srtp_info; 
     184 
     185 
     186/** 
    163187 * Initialize SRTP setting with its default values. 
    164188 * 
Note: See TracChangeset for help on using the changeset viewer.