FreeSWITCH.Native.freeswitch.switch_rtp_add_crypto_key C# (CSharp) Method

switch_rtp_add_crypto_key() public static method

public static switch_rtp_add_crypto_key ( SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_crypto_direction_t direction, uint index, switch_rtp_crypto_key_type_t type, SWIGTYPE_p_unsigned_char key, SWIGTYPE_p_switch_size_t keylen ) : switch_status_t
rtp_session SWIGTYPE_p_switch_rtp
direction switch_rtp_crypto_direction_t
index uint
type switch_rtp_crypto_key_type_t
key SWIGTYPE_p_unsigned_char
keylen SWIGTYPE_p_switch_size_t
return switch_status_t
        public static switch_status_t switch_rtp_add_crypto_key(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_crypto_direction_t direction, uint index, switch_rtp_crypto_key_type_t type, SWIGTYPE_p_unsigned_char key, SWIGTYPE_p_switch_size_t keylen)
        {
            switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_add_crypto_key(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)direction, index, (int)type, SWIGTYPE_p_unsigned_char.getCPtr(key), SWIGTYPE_p_switch_size_t.getCPtr(keylen));
            if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
            return ret;
        }
freeswitch