rtsp auth
The GstRTSPAuth object is responsible for checking if the current user is allowed to perform requested actions. The default implementation has some reasonable checks but subclasses can implement custom security policies.
A new auth object is made with gst_rtsp_auth_new. It is usually configured on the GstRTSPServer object.
The RTSP server will call gst_rtsp_auth_check with a string describing the check to perform. The possible checks are prefixed with GST_RTSP_AUTH_CHECK_*. Depending on the check, the default implementation will use the current GstRTSPToken, GstRTSPContext and GstRTSPPermissions on the object to check if an operation is allowed.
The default GstRTSPAuth object has support for basic authentication. With gst_rtsp_auth_add_basic you can add a basic authentication string together with the GstRTSPToken that will become active when successfully authenticated.
When a TLS certificate has been set with gst_rtsp_auth_set_tls_certificate, the default auth object will require the client to connect with a TLS connection.
Last reviewed on 2013-07-16 (1.0.0)
GstRTSPAuth
GObject ╰──GstRTSPAuth
The authentication structure.
Members
parent
(GObject)
–
Class structure
GstRTSPAuthClass
The authentication class.
Fields
parent_class
(GObjectClass)
–
GstRtspServer.RTSPAuthClass
The authentication class.
Attributes
parent_class
(GObject.ObjectClass)
–
GstRtspServer.RTSPAuthClass
The authentication class.
Attributes
parent_class
(GObject.ObjectClass)
–
GstRtspServer.RTSPAuth
GObject.Object ╰──GstRtspServer.RTSPAuth
The authentication structure.
Members
parent
(GObject.Object)
–
GstRtspServer.RTSPAuth
GObject.Object ╰──GstRtspServer.RTSPAuth
The authentication structure.
Members
parent
(GObject.Object)
–
Constructors
gst_rtsp_auth_new
GstRTSPAuth * gst_rtsp_auth_new ()
Create a new GstRTSPAuth instance.
a new GstRTSPAuth
GstRtspServer.RTSPAuth.prototype.new
function GstRtspServer.RTSPAuth.prototype.new(): {
// javascript wrapper for 'gst_rtsp_auth_new'
}
Create a new GstRtspServer.RTSPAuth instance.
a new GstRtspServer.RTSPAuth
GstRtspServer.RTSPAuth.new
def GstRtspServer.RTSPAuth.new ():
#python wrapper for 'gst_rtsp_auth_new'
Create a new GstRtspServer.RTSPAuth instance.
a new GstRtspServer.RTSPAuth
Methods
gst_rtsp_auth_add_basic
gst_rtsp_auth_add_basic (GstRTSPAuth * auth, const gchar * basic, GstRTSPToken * token)
Add a basic token for the default authentication algorithm that enables the client with privileges listed in token.
Parameters:
auth
–
basic
–
the basic token
token
(
[transfer: none])
–
authorisation token
GstRtspServer.RTSPAuth.prototype.add_basic
function GstRtspServer.RTSPAuth.prototype.add_basic(basic: String, token: GstRtspServer.RTSPToken): {
// javascript wrapper for 'gst_rtsp_auth_add_basic'
}
Add a basic token for the default authentication algorithm that enables the client with privileges listed in token.
Parameters:
the basic token
authorisation token
GstRtspServer.RTSPAuth.add_basic
def GstRtspServer.RTSPAuth.add_basic (self, basic, token):
#python wrapper for 'gst_rtsp_auth_add_basic'
Add a basic token for the default authentication algorithm that enables the client with privileges listed in token.
Parameters:
the basic token
authorisation token
gst_rtsp_auth_add_digest
gst_rtsp_auth_add_digest (GstRTSPAuth * auth, const gchar * user, const gchar * pass, GstRTSPToken * token)
Add a digest user and pass for the default authentication algorithm that enables the client with privileges listed in token.
Parameters:
auth
–
user
–
the digest user name
pass
–
the digest password
token
(
[transfer: none])
–
authorisation token
Since : 1.12
GstRtspServer.RTSPAuth.prototype.add_digest
function GstRtspServer.RTSPAuth.prototype.add_digest(user: String, pass: String, token: GstRtspServer.RTSPToken): {
// javascript wrapper for 'gst_rtsp_auth_add_digest'
}
Add a digest user and pass for the default authentication algorithm that enables the client with privileges listed in token.
Parameters:
the digest user name
the digest password
authorisation token
Since : 1.12
GstRtspServer.RTSPAuth.add_digest
def GstRtspServer.RTSPAuth.add_digest (self, user, pass, token):
#python wrapper for 'gst_rtsp_auth_add_digest'
Add a digest user and pass for the default authentication algorithm that enables the client with privileges listed in token.
Parameters:
the digest user name
the digest password
authorisation token
Since : 1.12
gst_rtsp_auth_get_default_token
GstRTSPToken * gst_rtsp_auth_get_default_token (GstRTSPAuth * auth)
Get the default token for auth. This token will be used for unauthenticated users.
Parameters:
auth
–
the GstRTSPToken of auth. gst_rtsp_token_unref after usage.
GstRtspServer.RTSPAuth.prototype.get_default_token
function GstRtspServer.RTSPAuth.prototype.get_default_token(): {
// javascript wrapper for 'gst_rtsp_auth_get_default_token'
}
Get the default token for auth. This token will be used for unauthenticated users.
Parameters:
the GstRtspServer.RTSPToken of auth. gst_rtsp_token_unref after usage.
GstRtspServer.RTSPAuth.get_default_token
def GstRtspServer.RTSPAuth.get_default_token (self):
#python wrapper for 'gst_rtsp_auth_get_default_token'
Get the default token for auth. This token will be used for unauthenticated users.
Parameters:
the GstRtspServer.RTSPToken of auth. gst_rtsp_token_unref after usage.
gst_rtsp_auth_get_realm
gchar * gst_rtsp_auth_get_realm (GstRTSPAuth * auth)
Parameters:
auth
–
the realm of auth
Since : 1.16
GstRtspServer.RTSPAuth.prototype.get_realm
function GstRtspServer.RTSPAuth.prototype.get_realm(): {
// javascript wrapper for 'gst_rtsp_auth_get_realm'
}
Parameters:
the realm of auth
Since : 1.16
GstRtspServer.RTSPAuth.get_realm
def GstRtspServer.RTSPAuth.get_realm (self):
#python wrapper for 'gst_rtsp_auth_get_realm'
Parameters:
the realm of auth
Since : 1.16
gst_rtsp_auth_get_supported_methods
GstRTSPAuthMethod gst_rtsp_auth_get_supported_methods (GstRTSPAuth * auth)
Gets the supported authentication methods of auth.
Parameters:
auth
–
The supported authentication methods
Since : 1.12
GstRtspServer.RTSPAuth.prototype.get_supported_methods
function GstRtspServer.RTSPAuth.prototype.get_supported_methods(): {
// javascript wrapper for 'gst_rtsp_auth_get_supported_methods'
}
Gets the supported authentication methods of auth.
Parameters:
The supported authentication methods
Since : 1.12
GstRtspServer.RTSPAuth.get_supported_methods
def GstRtspServer.RTSPAuth.get_supported_methods (self):
#python wrapper for 'gst_rtsp_auth_get_supported_methods'
Gets the supported authentication methods of auth.
Parameters:
The supported authentication methods
Since : 1.12
gst_rtsp_auth_get_tls_authentication_mode
GTlsAuthenticationMode gst_rtsp_auth_get_tls_authentication_mode (GstRTSPAuth * auth)
Get the GTlsAuthenticationMode.
Parameters:
auth
–
GstRtspServer.RTSPAuth.prototype.get_tls_authentication_mode
function GstRtspServer.RTSPAuth.prototype.get_tls_authentication_mode(): {
// javascript wrapper for 'gst_rtsp_auth_get_tls_authentication_mode'
}
Get the Gio.TlsAuthenticationMode.
Parameters:
GstRtspServer.RTSPAuth.get_tls_authentication_mode
def GstRtspServer.RTSPAuth.get_tls_authentication_mode (self):
#python wrapper for 'gst_rtsp_auth_get_tls_authentication_mode'
Get the Gio.TlsAuthenticationMode.
Parameters:
gst_rtsp_auth_get_tls_certificate
GTlsCertificate * gst_rtsp_auth_get_tls_certificate (GstRTSPAuth * auth)
Get the GTlsCertificate used for negotiating TLS auth.
Parameters:
auth
–
the GTlsCertificate of auth. g_object_unref after usage.
GstRtspServer.RTSPAuth.prototype.get_tls_certificate
function GstRtspServer.RTSPAuth.prototype.get_tls_certificate(): {
// javascript wrapper for 'gst_rtsp_auth_get_tls_certificate'
}
Get the Gio.TlsCertificate used for negotiating TLS auth.
Parameters:
the Gio.TlsCertificate of auth. GObject.Object.prototype.unref after usage.
GstRtspServer.RTSPAuth.get_tls_certificate
def GstRtspServer.RTSPAuth.get_tls_certificate (self):
#python wrapper for 'gst_rtsp_auth_get_tls_certificate'
Get the Gio.TlsCertificate used for negotiating TLS auth.
Parameters:
the Gio.TlsCertificate of auth. GObject.Object.unref after usage.
gst_rtsp_auth_get_tls_database
GTlsDatabase * gst_rtsp_auth_get_tls_database (GstRTSPAuth * auth)
Get the GTlsDatabase used for verifying client certificate.
Parameters:
auth
–
the GTlsDatabase of auth. g_object_unref after usage.
Since : 1.6
GstRtspServer.RTSPAuth.prototype.get_tls_database
function GstRtspServer.RTSPAuth.prototype.get_tls_database(): {
// javascript wrapper for 'gst_rtsp_auth_get_tls_database'
}
Get the Gio.TlsDatabase used for verifying client certificate.
Parameters:
the Gio.TlsDatabase of auth. GObject.Object.prototype.unref after usage.
Since : 1.6
GstRtspServer.RTSPAuth.get_tls_database
def GstRtspServer.RTSPAuth.get_tls_database (self):
#python wrapper for 'gst_rtsp_auth_get_tls_database'
Get the Gio.TlsDatabase used for verifying client certificate.
Parameters:
the Gio.TlsDatabase of auth. GObject.Object.unref after usage.
Since : 1.6
gst_rtsp_auth_parse_htdigest
gboolean gst_rtsp_auth_parse_htdigest (GstRTSPAuth * auth, const gchar * path, GstRTSPToken * token)
Parse the contents of the file at path and enable the privileges listed in token for the users it describes.
The format of the file is expected to match the format described by
https://en.wikipedia.org/wiki/Digest_access_authentication#The_.htdigest_file,
as output by the htdigest
command.
Parameters:
auth
–
path
(
[typefilename])
–
Path to the htdigest file
token
(
[transfer: none])
–
authorisation token
Since : 1.16
GstRtspServer.RTSPAuth.prototype.parse_htdigest
function GstRtspServer.RTSPAuth.prototype.parse_htdigest(path: filename, token: GstRtspServer.RTSPToken): {
// javascript wrapper for 'gst_rtsp_auth_parse_htdigest'
}
Parse the contents of the file at path and enable the privileges listed in token for the users it describes.
The format of the file is expected to match the format described by
https://en.wikipedia.org/wiki/Digest_access_authentication#The_.htdigest_file,
as output by the htdigest
command.
Parameters:
path
(filename)
–
Path to the htdigest file
authorisation token
Since : 1.16
GstRtspServer.RTSPAuth.parse_htdigest
def GstRtspServer.RTSPAuth.parse_htdigest (self, path, token):
#python wrapper for 'gst_rtsp_auth_parse_htdigest'
Parse the contents of the file at path and enable the privileges listed in token for the users it describes.
The format of the file is expected to match the format described by
https://en.wikipedia.org/wiki/Digest_access_authentication#The_.htdigest_file,
as output by the htdigest
command.
Parameters:
Path to the htdigest file
authorisation token
Since : 1.16
gst_rtsp_auth_remove_basic
gst_rtsp_auth_remove_basic (GstRTSPAuth * auth, const gchar * basic)
Removes basic authentication token.
GstRtspServer.RTSPAuth.prototype.remove_basic
function GstRtspServer.RTSPAuth.prototype.remove_basic(basic: String): {
// javascript wrapper for 'gst_rtsp_auth_remove_basic'
}
Removes basic authentication token.
Parameters:
the basic token
GstRtspServer.RTSPAuth.remove_basic
def GstRtspServer.RTSPAuth.remove_basic (self, basic):
#python wrapper for 'gst_rtsp_auth_remove_basic'
Removes basic authentication token.
gst_rtsp_auth_remove_digest
gst_rtsp_auth_remove_digest (GstRTSPAuth * auth, const gchar * user)
Removes a digest user.
Since : 1.12
GstRtspServer.RTSPAuth.prototype.remove_digest
function GstRtspServer.RTSPAuth.prototype.remove_digest(user: String): {
// javascript wrapper for 'gst_rtsp_auth_remove_digest'
}
Removes a digest user.
Parameters:
the digest user name
Since : 1.12
GstRtspServer.RTSPAuth.remove_digest
def GstRtspServer.RTSPAuth.remove_digest (self, user):
#python wrapper for 'gst_rtsp_auth_remove_digest'
Removes a digest user.
Parameters:
the digest user name
Since : 1.12
gst_rtsp_auth_set_default_token
gst_rtsp_auth_set_default_token (GstRTSPAuth * auth, GstRTSPToken * token)
Set the default GstRTSPToken to token in auth. The default token will be used for unauthenticated users.
GstRtspServer.RTSPAuth.prototype.set_default_token
function GstRtspServer.RTSPAuth.prototype.set_default_token(token: GstRtspServer.RTSPToken): {
// javascript wrapper for 'gst_rtsp_auth_set_default_token'
}
Set the default GstRtspServer.RTSPToken to token in auth. The default token will be used for unauthenticated users.
Parameters:
GstRtspServer.RTSPAuth.set_default_token
def GstRtspServer.RTSPAuth.set_default_token (self, token):
#python wrapper for 'gst_rtsp_auth_set_default_token'
Set the default GstRtspServer.RTSPToken to token in auth. The default token will be used for unauthenticated users.
Parameters:
gst_rtsp_auth_set_realm
gst_rtsp_auth_set_realm (GstRTSPAuth * auth, const gchar * realm)
Set the realm of auth
Parameters:
auth
–
realm
(
[nullable])
–
The realm to set
Since : 1.16
GstRtspServer.RTSPAuth.prototype.set_realm
function GstRtspServer.RTSPAuth.prototype.set_realm(realm: String): {
// javascript wrapper for 'gst_rtsp_auth_set_realm'
}
Set the realm of auth
Parameters:
The realm to set
Since : 1.16
GstRtspServer.RTSPAuth.set_realm
def GstRtspServer.RTSPAuth.set_realm (self, realm):
#python wrapper for 'gst_rtsp_auth_set_realm'
Set the realm of auth
Since : 1.16
gst_rtsp_auth_set_supported_methods
gst_rtsp_auth_set_supported_methods (GstRTSPAuth * auth, GstRTSPAuthMethod methods)
Sets the supported authentication methods for auth.
Since : 1.12
GstRtspServer.RTSPAuth.prototype.set_supported_methods
function GstRtspServer.RTSPAuth.prototype.set_supported_methods(methods: GstRtsp.RTSPAuthMethod): {
// javascript wrapper for 'gst_rtsp_auth_set_supported_methods'
}
Sets the supported authentication methods for auth.
Parameters:
supported methods
Since : 1.12
GstRtspServer.RTSPAuth.set_supported_methods
def GstRtspServer.RTSPAuth.set_supported_methods (self, methods):
#python wrapper for 'gst_rtsp_auth_set_supported_methods'
Sets the supported authentication methods for auth.
Parameters:
supported methods
Since : 1.12
gst_rtsp_auth_set_tls_authentication_mode
gst_rtsp_auth_set_tls_authentication_mode (GstRTSPAuth * auth, GTlsAuthenticationMode mode)
The GTlsAuthenticationMode to set on the underlying GTlsServerConnection. When set to another value than G_TLS_AUTHENTICATION_NONE, accept-certificate signal will be emitted and must be handled.
Since : 1.6
GstRtspServer.RTSPAuth.prototype.set_tls_authentication_mode
function GstRtspServer.RTSPAuth.prototype.set_tls_authentication_mode(mode: Gio.TlsAuthenticationMode): {
// javascript wrapper for 'gst_rtsp_auth_set_tls_authentication_mode'
}
The Gio.TlsAuthenticationMode to set on the underlying GTlsServerConnection. When set to another value than Gio.TlsAuthenticationMode.NONE, accept-certificate signal will be emitted and must be handled.
Parameters:
Since : 1.6
GstRtspServer.RTSPAuth.set_tls_authentication_mode
def GstRtspServer.RTSPAuth.set_tls_authentication_mode (self, mode):
#python wrapper for 'gst_rtsp_auth_set_tls_authentication_mode'
The Gio.TlsAuthenticationMode to set on the underlying GTlsServerConnection. When set to another value than Gio.TlsAuthenticationMode.NONE, accept-certificate signal will be emitted and must be handled.
Parameters:
Since : 1.6
gst_rtsp_auth_set_tls_certificate
gst_rtsp_auth_set_tls_certificate (GstRTSPAuth * auth, GTlsCertificate * cert)
Set the TLS certificate for the auth. Client connections will only be accepted when TLS is negotiated.
GstRtspServer.RTSPAuth.prototype.set_tls_certificate
function GstRtspServer.RTSPAuth.prototype.set_tls_certificate(cert: Gio.TlsCertificate): {
// javascript wrapper for 'gst_rtsp_auth_set_tls_certificate'
}
Set the TLS certificate for the auth. Client connections will only be accepted when TLS is negotiated.
Parameters:
GstRtspServer.RTSPAuth.set_tls_certificate
def GstRtspServer.RTSPAuth.set_tls_certificate (self, cert):
#python wrapper for 'gst_rtsp_auth_set_tls_certificate'
Set the TLS certificate for the auth. Client connections will only be accepted when TLS is negotiated.
Parameters:
gst_rtsp_auth_set_tls_database
gst_rtsp_auth_set_tls_database (GstRTSPAuth * auth, GTlsDatabase * database)
Sets the certificate database that is used to verify peer certificates. If set to NULL (the default), then peer certificate validation will always set the G_TLS_CERTIFICATE_UNKNOWN_CA error.
Since : 1.6
GstRtspServer.RTSPAuth.prototype.set_tls_database
function GstRtspServer.RTSPAuth.prototype.set_tls_database(database: Gio.TlsDatabase): {
// javascript wrapper for 'gst_rtsp_auth_set_tls_database'
}
Sets the certificate database that is used to verify peer certificates. If set to null (the default), then peer certificate validation will always set the Gio.TlsCertificateFlags.UNKNOWN_CA error.
Parameters:
Since : 1.6
GstRtspServer.RTSPAuth.set_tls_database
def GstRtspServer.RTSPAuth.set_tls_database (self, database):
#python wrapper for 'gst_rtsp_auth_set_tls_database'
Sets the certificate database that is used to verify peer certificates. If set to None (the default), then peer certificate validation will always set the Gio.TlsCertificateFlags.UNKNOWN_CA error.
Parameters:
Since : 1.6
Functions
gst_rtsp_auth_check
gboolean gst_rtsp_auth_check (const gchar * check)
Check if check is allowed in the current context.
Parameters:
check
–
the item to check
FALSE if check failed.
GstRtspServer.RTSPAuth.prototype.check
function GstRtspServer.RTSPAuth.prototype.check(check: String): {
// javascript wrapper for 'gst_rtsp_auth_check'
}
Check if check is allowed in the current context.
Parameters:
the item to check
FALSE if check failed.
gst_rtsp_auth_make_basic
gchar * gst_rtsp_auth_make_basic (const gchar * user, const gchar * pass)
Construct a Basic authorisation token from user and pass.
Parameters:
user
–
a userid
pass
–
a password
the base64 encoding of the string user:@pass. g_free after usage.
GstRtspServer.RTSPAuth.prototype.make_basic
function GstRtspServer.RTSPAuth.prototype.make_basic(user: String, pass: String): {
// javascript wrapper for 'gst_rtsp_auth_make_basic'
}
Construct a Basic authorisation token from user and pass.
the base64 encoding of the string user:@pass. GLib.prototype.free after usage.
GstRtspServer.RTSPAuth.make_basic
def GstRtspServer.RTSPAuth.make_basic (user, pass):
#python wrapper for 'gst_rtsp_auth_make_basic'
Construct a Basic authorisation token from user and pass.
Signals
accept-certificate
gboolean accept_certificate_callback (GstRTSPAuth * self, GTlsConnection * connection, GTlsCertificate * peer_cert, GTlsCertificateFlags * errors, gpointer user_data)
Emitted during the TLS handshake after the client certificate has been received. See also gst_rtsp_auth_set_tls_authentication_mode.
Parameters:
self
–
connection
–
peer_cert
–
the peer's GTlsCertificate
errors
–
the problems with peer_cert.
user_data
–
Flags: Run Last
Since : 1.6
accept-certificate
function accept_certificate_callback(self: GstRtspServer.RTSPAuth, connection: Gio.TlsConnection, peer_cert: Gio.TlsCertificate, errors: Gio.TlsCertificateFlags, user_data: Object): {
// javascript callback for the 'accept-certificate' signal
}
Emitted during the TLS handshake after the client certificate has been received. See also GstRtspServer.RTSPAuth.prototype.set_tls_authentication_mode.
Parameters:
the peer's Gio.TlsCertificate
the problems with peer_cert.
Flags: Run Last
Since : 1.6
accept-certificate
def accept_certificate_callback (self, connection, peer_cert, errors, *user_data):
#python callback for the 'accept-certificate' signal
Emitted during the TLS handshake after the client certificate has been received. See also GstRtspServer.RTSPAuth.set_tls_authentication_mode.
Parameters:
the peer's Gio.TlsCertificate
the problems with peer_cert.
Flags: Run Last
Since : 1.6
Virtual Methods
accept_certificate
gboolean accept_certificate (GstRTSPAuth * auth, GTlsConnection * connection, GTlsCertificate * peer_cert, GTlsCertificateFlags errors)
Parameters:
auth
–
connection
–
peer_cert
–
errors
–
vfunc_accept_certificate
function vfunc_accept_certificate(auth: GstRtspServer.RTSPAuth, connection: Gio.TlsConnection, peer_cert: Gio.TlsCertificate, errors: Gio.TlsCertificateFlags): {
// javascript implementation of the 'accept_certificate' virtual method
}
Parameters:
do_accept_certificate
def do_accept_certificate (auth, connection, peer_cert, errors):
#python implementation of the 'accept_certificate' virtual method
Parameters:
authenticate
gboolean authenticate (GstRTSPAuth * auth, GstRTSPContext * ctx)
check the authentication of a client. The default implementation checks if the authentication in the header matches one of the basic authentication tokens. This function should set the authgroup field in the context.
Parameters:
auth
–
ctx
–
vfunc_authenticate
function vfunc_authenticate(auth: GstRtspServer.RTSPAuth, ctx: GstRtspServer.RTSPContext): {
// javascript implementation of the 'authenticate' virtual method
}
check the authentication of a client. The default implementation checks if the authentication in the header matches one of the basic authentication tokens. This function should set the authgroup field in the context.
Parameters:
do_authenticate
def do_authenticate (auth, ctx):
#python implementation of the 'authenticate' virtual method
check the authentication of a client. The default implementation checks if the authentication in the header matches one of the basic authentication tokens. This function should set the authgroup field in the context.
Parameters:
check
gboolean check (GstRTSPAuth * auth, GstRTSPContext * ctx, const gchar * check)
check if a resource can be accessed. this function should call authenticate to authenticate the client when needed. The method should also construct and send an appropriate response message on error.
Parameters:
auth
–
ctx
–
check
–
vfunc_check
function vfunc_check(auth: GstRtspServer.RTSPAuth, ctx: GstRtspServer.RTSPContext, check: String): {
// javascript implementation of the 'check' virtual method
}
check if a resource can be accessed. this function should call authenticate to authenticate the client when needed. The method should also construct and send an appropriate response message on error.
Parameters:
do_check
def do_check (auth, ctx, check):
#python implementation of the 'check' virtual method
check if a resource can be accessed. this function should call authenticate to authenticate the client when needed. The method should also construct and send an appropriate response message on error.
Parameters:
generate_authenticate_header
generate_authenticate_header (GstRTSPAuth * auth, GstRTSPContext * ctx)
Parameters:
auth
–
ctx
–
vfunc_generate_authenticate_header
function vfunc_generate_authenticate_header(auth: GstRtspServer.RTSPAuth, ctx: GstRtspServer.RTSPContext): {
// javascript implementation of the 'generate_authenticate_header' virtual method
}
Parameters:
do_generate_authenticate_header
def do_generate_authenticate_header (auth, ctx):
#python implementation of the 'generate_authenticate_header' virtual method
Parameters:
Function Macros
GST_RTSP_AUTH_CAST
#define GST_RTSP_AUTH_CAST(obj) ((GstRTSPAuth*)(obj))
GST_RTSP_AUTH_CLASS_CAST
#define GST_RTSP_AUTH_CLASS_CAST(klass) ((GstRTSPAuthClass*)(klass))
Constants
GST_RTSP_AUTH_CHECK_CONNECT
#define GST_RTSP_AUTH_CHECK_CONNECT "auth.check.connect"
Check a new connection
GstRtspServer.RTSP_AUTH_CHECK_CONNECT
Check a new connection
GstRtspServer.RTSP_AUTH_CHECK_CONNECT
Check a new connection
GST_RTSP_AUTH_CHECK_MEDIA_FACTORY_ACCESS
#define GST_RTSP_AUTH_CHECK_MEDIA_FACTORY_ACCESS "auth.check.media.factory.access"
Check if access is allowed to a factory. When access is not allowed an 404 Not Found is sent in the response.
GstRtspServer.RTSP_AUTH_CHECK_MEDIA_FACTORY_ACCESS
Check if access is allowed to a factory. When access is not allowed an 404 Not Found is sent in the response.
GstRtspServer.RTSP_AUTH_CHECK_MEDIA_FACTORY_ACCESS
Check if access is allowed to a factory. When access is not allowed an 404 Not Found is sent in the response.
GST_RTSP_AUTH_CHECK_MEDIA_FACTORY_CONSTRUCT
#define GST_RTSP_AUTH_CHECK_MEDIA_FACTORY_CONSTRUCT "auth.check.media.factory.construct"
Check if media can be constructed from a media factory A response should be sent on error.
GstRtspServer.RTSP_AUTH_CHECK_MEDIA_FACTORY_CONSTRUCT
Check if media can be constructed from a media factory A response should be sent on error.
GstRtspServer.RTSP_AUTH_CHECK_MEDIA_FACTORY_CONSTRUCT
Check if media can be constructed from a media factory A response should be sent on error.
GST_RTSP_AUTH_CHECK_TRANSPORT_CLIENT_SETTINGS
#define GST_RTSP_AUTH_CHECK_TRANSPORT_CLIENT_SETTINGS "auth.check.transport.client-settings"
Check if the client can specify TTL, destination and port pair in multicast. No response is sent when the check returns FALSE.
GstRtspServer.RTSP_AUTH_CHECK_TRANSPORT_CLIENT_SETTINGS
Check if the client can specify TTL, destination and port pair in multicast. No response is sent when the check returns false.
GstRtspServer.RTSP_AUTH_CHECK_TRANSPORT_CLIENT_SETTINGS
Check if the client can specify TTL, destination and port pair in multicast. No response is sent when the check returns False.
GST_RTSP_AUTH_CHECK_URL
#define GST_RTSP_AUTH_CHECK_URL "auth.check.url"
Check the URL and methods
GstRtspServer.RTSP_AUTH_CHECK_URL
Check the URL and methods
GstRtspServer.RTSP_AUTH_CHECK_URL
Check the URL and methods
GST_RTSP_PERM_MEDIA_FACTORY_ACCESS
#define GST_RTSP_PERM_MEDIA_FACTORY_ACCESS "media.factory.access"
G_TYPE_BOOLEAN, TRUE if the media can be accessed, FALSE will return a 404 Not Found error when trying to access the media.
GST_RTSP_PERM_MEDIA_FACTORY_CONSTRUCT
#define GST_RTSP_PERM_MEDIA_FACTORY_CONSTRUCT "media.factory.construct"
G_TYPE_BOOLEAN, TRUE if the media can be constructed, FALSE will return a 404 Not Found error when trying to access the media.
GST_RTSP_TOKEN_MEDIA_FACTORY_ROLE
#define GST_RTSP_TOKEN_MEDIA_FACTORY_ROLE "media.factory.role"
G_TYPE_STRING, the role to use when dealing with media factories
The default GstRTSPAuth object uses this string in the token to find the role of the media factory. It will then retrieve the GstRTSPPermissions of the media factory and retrieve the role with the same name.
GstRtspServer.RTSP_TOKEN_MEDIA_FACTORY_ROLE
G_TYPE_STRING, the role to use when dealing with media factories
The default GstRtspServer.RTSPAuth object uses this string in the token to find the role of the media factory. It will then retrieve the GstRtspServer.RTSPPermissions of the media factory and retrieve the role with the same name.
GstRtspServer.RTSP_TOKEN_MEDIA_FACTORY_ROLE
G_TYPE_STRING, the role to use when dealing with media factories
The default GstRtspServer.RTSPAuth object uses this string in the token to find the role of the media factory. It will then retrieve the GstRtspServer.RTSPPermissions of the media factory and retrieve the role with the same name.
GST_RTSP_TOKEN_TRANSPORT_CLIENT_SETTINGS
#define GST_RTSP_TOKEN_TRANSPORT_CLIENT_SETTINGS "transport.client-settings"
G_TYPE_BOOLEAN, TRUE if the client can specify TTL, destination and port pair in multicast.
GstRtspServer.RTSP_TOKEN_TRANSPORT_CLIENT_SETTINGS
G_TYPE_BOOLEAN, true if the client can specify TTL, destination and port pair in multicast.
GstRtspServer.RTSP_TOKEN_TRANSPORT_CLIENT_SETTINGS
G_TYPE_BOOLEAN, True if the client can specify TTL, destination and port pair in multicast.
The results of the search are