1 2 3 4 5@deftypefun {int} {gnutls_srtp_set_profile} (gnutls_session_t @var{session}, gnutls_srtp_profile_t @var{profile}) 6@var{session}: is a @code{gnutls_session_t} type. 7 8@var{profile}: is the profile id to add. 9 10This function is to be used by both clients and servers, to declare 11what SRTP profiles they support, to negotiate with the peer. 12 13@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, 14otherwise a negative error code is returned. 15 16Since 3.1.4 17@end deftypefun 18