gst_rtsp_auth_make_basic
gst_rtsp_auth_add_basic
gst_rtsp_auth_remove_basic
-gst_rtsp_auth_setup
gst_rtsp_auth_check
<SUBSECTION AuthChecks>
GST_RTSP_AUTH_CHECK_URL
GST_RTSP_AUTH_CHECK_MEDIA_FACTORY_ACCESS
GST_RTSP_AUTH_CHECK_MEDIA_FACTORY_CONSTRUCT
+GST_RTSP_AUTH_CHECK_TRANSPORT_CLIENT_SETTINGS
-<SUBSECTION AuthPermissions>
+<SUBSECTION AuthRoles>
GST_RTSP_MEDIA_FACTORY_ROLE
+
+<SUBSECTION AuthPermissions>
GST_RTSP_MEDIA_FACTORY_PERM_ACCESS
GST_RTSP_MEDIA_FACTORY_PERM_CONSTRUCT
+GST_RTSP_TRANSPORT_PERM_CLIENT_SETTINGS
<SUBSECTION Standard>
GST_RTSP_AUTH_CAST
GST_RTSP_AUTH_CLASS_CAST
<SUBSECTION ClientState>
GstRTSPClientState
gst_rtsp_client_state_get_current
+gst_rtsp_client_state_pop_current
+gst_rtsp_client_state_push_current
<SUBSECTION Client>
GstRTSPClient
gst_rtsp_client_get_thread_pool
gst_rtsp_client_set_thread_pool
-gst_rtsp_client_get_use_client_settings
-gst_rtsp_client_set_use_client_settings
-
gst_rtsp_client_get_connection
gst_rtsp_client_set_connection
gst_rtsp_client_set_send_func
gst_rtsp_client_handle_message
-gst_rtsp_client_send_request
+gst_rtsp_client_send_message
GstRTSPClientSessionFilterFunc
gst_rtsp_client_session_filter
gst_rtsp_media_factory_get_permissions
gst_rtsp_media_factory_set_permissions
+gst_rtsp_media_factory_add_role
gst_rtsp_media_factory_set_shared
gst_rtsp_media_factory_is_shared
gst_rtsp_permissions_ref
gst_rtsp_permissions_unref
gst_rtsp_permissions_add_role
+gst_rtsp_permissions_add_role_valist
gst_rtsp_permissions_remove_role
gst_rtsp_permissions_get_role
gst_rtsp_permissions_is_allowed
gst_rtsp_server_get_auth
gst_rtsp_server_set_auth
-gst_rtsp_server_get_use_client_settings
-gst_rtsp_server_set_use_client_settings
-
gst_rtsp_server_transfer_connection
gst_rtsp_server_io_func
gst_rtsp_server_create_socket
<FILE>rtsp-token</FILE>
<TITLE>GstRTSPToken</TITLE>
GstRTSPToken
+gst_rtsp_token_new_empty
gst_rtsp_token_new
+gst_rtsp_token_new_valist
gst_rtsp_token_ref
gst_rtsp_token_unref
gst_rtsp_token_get_structure
gst_rtsp_token_writable_structure
gst_rtsp_token_get_string
+gst_rtsp_token_is_allowed
<SUBSECTION Standard>
GST_RTSP_TOKEN_CAST
GST_IS_RTSP_TOKEN
* gst_rtsp_permissions_add_role:
* @permissions: a #GstRTSPPermissions
* @role: a role
- * @fielname: the first field name
+ * @fieldname: the first field name
* @...: additional arguments
*
* Add a new @role to @permissions with the given variables. The fields
* gst_rtsp_permissions_add_role_valist:
* @permissions: a #GstRTSPPermissions
* @role: a role
- * @fielname: the first field name
+ * @fieldname: the first field name
* @var_args: additional fields to add
*
* Add a new @role to @permissions with the given variables. Structure fields
void gst_rtsp_permissions_add_role (GstRTSPPermissions *permissions,
const gchar *role,
- const gchar *field_name, ...);
+ const gchar *fieldname, ...);
void gst_rtsp_permissions_add_role_valist (GstRTSPPermissions *permissions,
const gchar *role,
- const gchar *field_name,
+ const gchar *fieldname,
va_list var_args);
void gst_rtsp_permissions_remove_role (GstRTSPPermissions *permissions,
const gchar *role);
* @short_description: Roles and permissions for a client
* @see_also: #GstRTSPClient, #GstRTSPPermission, #GstRTSPAuth
*
- * Last reviewed on 2013-07-11 (1.0.0)
+ * A #GstRTSPToken contains the permissions and roles of the user
+ * performing the current request. A token is usually created when a user is
+ * authenticated by the #GstRTSPAuth object and is then placed as the current
+ * token for the current request.
+ *
+ * #GstRTSPAuth can use the token and its contents to check authorization for
+ * various operations by comparing the token to the #GstRTSPPermissions of the
+ * object.
+ *
+ * The accepted values of the token are entirely defined by the #GstRTSPAuth
+ * object that implements the security policy.
+ *
+ * Last reviewed on 2013-07-15 (1.0.0)
*/
#include <string.h>
}
/**
- * gst_rtsp_token_new:
+ * gst_rtsp_token_new_valist:
* @firstfield: the first fieldname
- * @var_args additional arguments
+ * @var_args: additional arguments
*
* Create a new Authorization token with the given fieldnames and values.
* Arguments are given similar to gst_structure_new_valist().