Blame doc/functions/gnutls_srtp_set_profile_direct

Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
@deftypefun {int} {gnutls_srtp_set_profile_direct} (gnutls_session_t @var{session}, const char * @var{profiles}, const char ** @var{err_pos})
Packit aea12f
@var{session}: is a @code{gnutls_session_t}  type.
Packit aea12f
Packit aea12f
@var{profiles}: is a string that contains the supported SRTP profiles,
Packit aea12f
separated by colons.
Packit aea12f
Packit aea12f
@var{err_pos}: In case of an error this will have the position in the string the error occurred, may be NULL.
Packit aea12f
Packit aea12f
This function is to be used by both clients and servers, to declare
Packit aea12f
what SRTP profiles they support, to negotiate with the peer.
Packit aea12f
Packit aea12f
@strong{Returns:} On syntax error @code{GNUTLS_E_INVALID_REQUEST}  is returned,
Packit aea12f
@code{GNUTLS_E_SUCCESS}  on success, or an error code.
Packit aea12f
Packit aea12f
Since 3.1.4
Packit aea12f
@end deftypefun