1gnutls_srtp_set_profile_direct(3) gnutls gnutls_srtp_set_profile_direct(3)
2
3
4
6 gnutls_srtp_set_profile_direct - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_srtp_set_profile_direct(gnutls_session_t session, const char
12 * profiles, const char ** err_pos);
13
15 gnutls_session_t session
16 is a gnutls_session_t type.
17
18 const char * profiles
19 is a string that contains the supported SRTP profiles, sep‐
20 arated by colons.
21
22 const char ** err_pos
23 In case of an error this will have the position in the
24 string the error occurred, may be NULL.
25
27 This function is to be used by both clients and servers, to declare
28 what SRTP profiles they support, to negotiate with the peer.
29
31 On syntax error GNUTLS_E_INVALID_REQUEST is returned, GNUTLS_E_SUCCESS
32 on success, or an error code.
33
34 Since 3.1.4
35
37 Report bugs to <bugs@gnutls.org>.
38 Home page: https://www.gnutls.org
39
40
42 Copyright © 2001-2019 Free Software Foundation, Inc., and others.
43 Copying and distribution of this file, with or without modification,
44 are permitted in any medium without royalty provided the copyright
45 notice and this notice are preserved.
46
48 The full documentation for gnutls is maintained as a Texinfo manual.
49 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
50 visit
51
52 https://www.gnutls.org/manual/
53
54gnutls 3.6.8 gnutls_srtp_set_profile_direct(3)