GstRtspServer.RTSPClient¶
| Subclasses: | GstRtspServer.RTSPOnvifClient | 
|---|
Methods¶
| Inherited: | GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| class | new() | 
| attach(context) | |
| close() | |
| get_auth() | |
| get_connection() | |
| get_content_length_limit() | |
| get_mount_points() | |
| get_session_pool() | |
| get_stream_transport(channel) | |
| get_thread_pool() | |
| handle_message(message) | |
| send_message(session, message) | |
| session_filter(func, *user_data) | |
| set_auth(auth) | |
| set_connection(conn) | |
| set_content_length_limit(limit) | |
| set_mount_points(mounts) | |
| set_send_func(func, *user_data) | |
| set_send_messages_func(func, *user_data) | |
| set_session_pool(pool) | |
| set_thread_pool(pool) | 
Virtual Methods¶
| Inherited: | GObject.Object (7) | 
|---|
Properties¶
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| drop-backlog | bool | r/w | Drop GstRtsp.datawhen the backlog queue is full | 
| mount-points | GstRtspServer.RTSPMountPoints | r/w | The mount points to use for client session | 
| post-session-timeout | int | r/w | An extra TCP connection timeout after session timeout | 
| session-pool | GstRtspServer.RTSPSessionPool | r/w | The session pool to use for client session | 
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Class Details¶
- 
class GstRtspServer.RTSPClient(**kwargs)¶
- Bases: - GObject.Object- Abstract: - No - Structure: - GstRtspServer.RTSPClientClass- The client object represents the connection and its state with a client. - 
classmethod new()[source]¶
- Returns: - a new - GstRtspServer.RTSPClient- Return type: - GstRtspServer.RTSPClient- Create a new - GstRtspServer.RTSPClientinstance.
 - 
attach(context)[source]¶
- Parameters: - context ( - GLib.MainContextor- None) – a- GLib.MainContext- Returns: - the ID (greater than 0) for the source within the - GLib.MainContext.- Return type: - int- Attaches self to context. When the mainloop for context is run, the client will be dispatched. When context is - None, the default context will be used).- This function should be called when the client properties and urls are fully configured and the client is ready to start. 
 - 
close()[source]¶
- Close the connection of self and remove all media it was managing. - New in version 1.4. 
 - 
get_auth()[source]¶
- Returns: - the - GstRtspServer.RTSPAuthof self.- GObject.Object.unref() after usage.- Return type: - GstRtspServer.RTSPAuthor- None- Get the - GstRtspServer.RTSPAuthused as the authentication manager of self.
 - 
get_connection()[source]¶
- Returns: - the - GstRtsp.RTSPConnectionof self. The connection object returned remains valid until the client is freed.- Return type: - GstRtsp.RTSPConnectionor- None- Get the - GstRtsp.RTSPConnectionof self.
 - 
get_content_length_limit()[source]¶
- Returns: - the Content-Length limit. - Return type: - int- Get the Content-Length limit of self. - New in version 1.18. 
 - 
get_mount_points()[source]¶
- Returns: - a - GstRtspServer.RTSPMountPoints, unref after usage.- Return type: - GstRtspServer.RTSPMountPointsor- None- Get the - GstRtspServer.RTSPMountPointsobject that self uses to manage its sessions.
 - 
get_session_pool()[source]¶
- Returns: - a - GstRtspServer.RTSPSessionPool, unref after usage.- Return type: - GstRtspServer.RTSPSessionPoolor- None- Get the - GstRtspServer.RTSPSessionPoolobject that self uses to manage its sessions.
 - 
get_stream_transport(channel)[source]¶
- Parameters: - channel ( - int) –- Returns: - the - GstRtspServer.RTSPStreamTransportassociated with channel.- Return type: - GstRtspServer.RTSPStreamTransportor- None- This is useful when providing a send function through - GstRtspServer.RTSPClient.set_send_func() when doing RTSP over TCP: the send function must call- GstRtspServer.RTSPStreamTransport.message_sent() on the appropriate transport when- GstRtsp.datahas been received for streaming to continue.- New in version 1.18. 
 - 
get_thread_pool()[source]¶
- Returns: - the - GstRtspServer.RTSPThreadPoolof self.- GObject.Object.unref() after usage.- Return type: - GstRtspServer.RTSPThreadPoolor- None- Get the - GstRtspServer.RTSPThreadPoolused as the thread pool of self.
 - 
handle_message(message)[source]¶
- Parameters: - message ( - GstRtsp.RTSPMessage) – an- GstRtsp.RTSPMessage- Returns: - a - GstRtsp.RTSPResult.- Return type: - GstRtsp.RTSPResult- Let the client handle message. 
 - 
send_message(session, message)[source]¶
- Parameters: - session (GstRtspServer.RTSPSessionorNone) – aGstRtspServer.RTSPSessionto send the message to orNone
- message (GstRtsp.RTSPMessage) – TheGstRtsp.RTSPMessageto send
 - Return type: - Send a message message to the remote end. message must be a - GstRtsp.RTSPMsgType.REQUESTor a- GstRtsp.RTSPMsgType.RESPONSE.
- session (
 - 
session_filter(func, *user_data)[source]¶
- Parameters: - func (GstRtspServer.RTSPClientSessionFilterFuncorNone) – a callback
- user_data (objectorNone) – userGstRtsp.datapassed to func
 - Returns: - a - GLib.Listwith all sessions for which func returned- GstRtspServer.RTSPFilterResult.REF. After usage, each element in the- GLib.Listshould be unreffed before the list is freed.- Return type: - Call func for each session managed by self. The result value of func determines what happens to the session. func will be called with self locked so no further actions on self can be performed from func. - If func returns - GstRtspServer.RTSPFilterResult.REMOVE, the session will be removed from self.- If func returns - GstRtspServer.RTSPFilterResult.KEEP, the session will remain in self.- If func returns - GstRtspServer.RTSPFilterResult.REF, the session will remain in self but will also be added with an additional ref to the result- GLib.Listof this function..- When func is - None,- GstRtspServer.RTSPFilterResult.REFwill be assumed for each session.
- func (
 - 
set_auth(auth)[source]¶
- Parameters: - auth ( - GstRtspServer.RTSPAuthor- None) – a- GstRtspServer.RTSPAuth- configure auth to be used as the authentication manager of self. 
 - 
set_connection(conn)[source]¶
- Parameters: - conn ( - GstRtsp.RTSPConnection) – a- GstRtsp.RTSPConnection- Returns: - Trueon success.- Return type: - bool- Set the - GstRtsp.RTSPConnectionof self. This function takes ownership of conn.
 - 
set_content_length_limit(limit)[source]¶
- Parameters: - limit ( - int) – Content-Length limit- Configure self to use the specified Content-Length limit. - Define an appropriate - GstRtsp.requestsize limit and reject requests exceeding the limit with- GstRtsp.responsestatus 413 Request Entity Too Large- New in version 1.18. 
 - 
set_mount_points(mounts)[source]¶
- Parameters: - mounts ( - GstRtspServer.RTSPMountPointsor- None) – a- GstRtspServer.RTSPMountPoints- Set mounts as the mount points for self which it will use to map urls to media streams. These mount points are usually inherited from the server that created the client but can be overriden later. 
 - 
set_send_func(func, *user_data)[source]¶
- Parameters: - func (GstRtspServer.RTSPClientSendFunc) – aGstRtspServer.RTSPClientSendFunc
- user_data (objectorNone) – userGstRtsp.datapassed to func
 - Set func as the callback that will be called when a new message needs to be sent to the client. user_data is passed to func and notify is called when user_data is no longer in use. - By default, the client will send the messages on the - GstRtsp.RTSPConnectionthat was configured with- GstRtspServer.RTSPClient.attach() was called.- It is only allowed to set either a - send_funcor a- send_messages_funcbut not both at the same time.
- func (
 - 
set_send_messages_func(func, *user_data)[source]¶
- Parameters: - func (GstRtspServer.RTSPClientSendMessagesFunc) – aGstRtspServer.RTSPClientSendMessagesFunc
- user_data (objectorNone) – userGstRtsp.datapassed to func
 - Set func as the callback that will be called when new messages needs to be sent to the client. user_data is passed to func and notify is called when user_data is no longer in use. - By default, the client will send the messages on the - GstRtsp.RTSPConnectionthat was configured with- GstRtspServer.RTSPClient.attach() was called.- It is only allowed to set either a - send_funcor a- send_messages_funcbut not both at the same time.- New in version 1.16. 
- func (
 - 
set_session_pool(pool)[source]¶
- Parameters: - pool ( - GstRtspServer.RTSPSessionPoolor- None) – a- GstRtspServer.RTSPSessionPool- Set pool as the sessionpool for self which it will use to find or allocate sessions. the sessionpool is usually inherited from the server that created the client but can be overridden later. 
 - 
set_thread_pool(pool)[source]¶
- Parameters: - pool ( - GstRtspServer.RTSPThreadPoolor- None) – a- GstRtspServer.RTSPThreadPool- configure pool to be used as the thread pool of self. 
 - 
do_adjust_play_mode(context, range, flags, rate, trickmode_interval, enable_rate_control) virtual¶
- Parameters: - context (GstRtspServer.RTSPContext) –
- range (GstRtsp.RTSPTimeRange) –
- flags (Gst.SeekFlags) –
- rate (float) –
- trickmode_interval (int) –
- enable_rate_control (bool) –
 - Return type: 
- context (
 - 
do_adjust_play_response(context) virtual¶
- Parameters: - context ( - GstRtspServer.RTSPContext) –- Return type: - GstRtsp.RTSPStatusCode
 - 
do_announce_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –
 - 
do_check_requirements(ctx, arr) virtual¶
- Parameters: - ctx (GstRtspServer.RTSPContext) –
- arr (str) –
 - Return type: 
- ctx (
 - 
do_closed() virtual¶
 - 
do_configure_client_media(media, stream, ctx) virtual¶
- Parameters: - media (GstRtspServer.RTSPMedia) –
- stream (GstRtspServer.RTSPStream) –
- ctx (GstRtspServer.RTSPContext) –
 - Return type: 
- media (
 - 
do_configure_client_transport(ctx, ct) virtual¶
- Parameters: - ctx (GstRtspServer.RTSPContext) –
- ct (GstRtsp.RTSPTransport) –
 - Return type: 
- ctx (
 - 
do_create_sdp(media) virtual¶
- Parameters: - media ( - GstRtspServer.RTSPMedia) –- Return type: - GstSdp.SDPMessage
 - 
do_describe_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –
 - 
do_get_parameter_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –
 - 
do_handle_response(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –
 - 
do_handle_sdp(ctx, media, sdp) virtual¶
- Parameters: - ctx (GstRtspServer.RTSPContext) –
- media (GstRtspServer.RTSPMedia) –
- sdp (GstSdp.SDPMessage) –
 - Return type: 
- ctx (
 - 
do_make_path_from_uri(uri) virtual¶
- Parameters: - uri ( - GstRtsp.RTSPUrl) –- Return type: - str
 - 
do_new_session(session) virtual¶
- Parameters: - session ( - GstRtspServer.RTSPSession) –
 - 
do_options_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –
 - 
do_params_get(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –- Return type: - GstRtsp.RTSPResult
 - 
do_params_set(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –- Return type: - GstRtsp.RTSPResult
 - 
do_pause_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –
 - 
do_play_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –
 - 
do_pre_announce_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –- Return type: - GstRtsp.RTSPStatusCode
 - 
do_pre_describe_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –- Return type: - GstRtsp.RTSPStatusCode
 - 
do_pre_get_parameter_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –- Return type: - GstRtsp.RTSPStatusCode
 - 
do_pre_options_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –- Return type: - GstRtsp.RTSPStatusCode
 - 
do_pre_pause_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –- Return type: - GstRtsp.RTSPStatusCode
 - 
do_pre_play_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –- Return type: - GstRtsp.RTSPStatusCode
 - 
do_pre_record_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –- Return type: - GstRtsp.RTSPStatusCode
 - 
do_pre_set_parameter_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –- Return type: - GstRtsp.RTSPStatusCode
 - 
do_pre_setup_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –- Return type: - GstRtsp.RTSPStatusCode
 - 
do_pre_teardown_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –- Return type: - GstRtsp.RTSPStatusCode
 - 
do_record_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –
 - 
do_send_message(ctx, response) virtual¶
- Parameters: - ctx (GstRtspServer.RTSPContext) –
- response (GstRtsp.RTSPMessage) –
 
- ctx (
 - 
do_set_parameter_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –
 - 
do_setup_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –
 - 
do_teardown_request(ctx) virtual¶
- Parameters: - ctx ( - GstRtspServer.RTSPContext) –
 - 
do_tunnel_http_response(request, response) virtual¶
- Parameters: - request (GstRtsp.RTSPMessage) –
- response (GstRtsp.RTSPMessage) –
 
- request (
 
- 
classmethod 
Signal Details¶
- 
GstRtspServer.RTSPClient.signals.announce_request(r_t_s_p_client, ctx)¶
- Signal Name: - announce-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.check_requirements(r_t_s_p_client, ctx, arr)¶
- Signal Name: - check-requirements- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
- arr ([str]) – aNone-terminated array of strings
 - Returns: - a newly allocated string with comma-separated list of unsupported options. An empty string must be returned if all options are supported. - Return type: - New in version 1.6. 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.closed(r_t_s_p_client)¶
- Signal Name: - closed- Flags: - RUN_LAST- Parameters: - r_t_s_p_client ( - GstRtspServer.RTSPClient) – The object which received the signal
- 
GstRtspServer.RTSPClient.signals.describe_request(r_t_s_p_client, ctx)¶
- Signal Name: - describe-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.get_parameter_request(r_t_s_p_client, ctx)¶
- Signal Name: - get-parameter-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.handle_response(r_t_s_p_client, ctx)¶
- Signal Name: - handle-response- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.new_session(r_t_s_p_client, object)¶
- Signal Name: - new-session- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- object (GstRtspServer.RTSPSession) –
 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.options_request(r_t_s_p_client, ctx)¶
- Signal Name: - options-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.pause_request(r_t_s_p_client, ctx)¶
- Signal Name: - pause-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.play_request(r_t_s_p_client, ctx)¶
- Signal Name: - play-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.pre_announce_request(r_t_s_p_client, ctx)¶
- Signal Name: - pre-announce-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 - Returns: - a - GstRtsp.RTSPStatusCode,- GstRtsp.RTSPStatusCode.OKin case of success, otherwise an appropriate return code- Return type: - New in version 1.12. 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.pre_describe_request(r_t_s_p_client, ctx)¶
- Signal Name: - pre-describe-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 - Returns: - a - GstRtsp.RTSPStatusCode,- GstRtsp.RTSPStatusCode.OKin case of success, otherwise an appropriate return code- Return type: - New in version 1.12. 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.pre_get_parameter_request(r_t_s_p_client, ctx)¶
- Signal Name: - pre-get-parameter-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 - Returns: - a - GstRtsp.RTSPStatusCode,- GstRtsp.RTSPStatusCode.OKin case of success, otherwise an appropriate return code- Return type: - New in version 1.12. 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.pre_options_request(r_t_s_p_client, ctx)¶
- Signal Name: - pre-options-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 - Returns: - a - GstRtsp.RTSPStatusCode,- GstRtsp.RTSPStatusCode.OKin case of success, otherwise an appropriate return code- Return type: - New in version 1.12. 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.pre_pause_request(r_t_s_p_client, ctx)¶
- Signal Name: - pre-pause-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 - Returns: - a - GstRtsp.RTSPStatusCode,- GstRtsp.RTSPStatusCode.OKin case of success, otherwise an appropriate return code- Return type: - New in version 1.12. 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.pre_play_request(r_t_s_p_client, ctx)¶
- Signal Name: - pre-play-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 - Returns: - a - GstRtsp.RTSPStatusCode,- GstRtsp.RTSPStatusCode.OKin case of success, otherwise an appropriate return code- Return type: - New in version 1.12. 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.pre_record_request(r_t_s_p_client, ctx)¶
- Signal Name: - pre-record-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 - Returns: - a - GstRtsp.RTSPStatusCode,- GstRtsp.RTSPStatusCode.OKin case of success, otherwise an appropriate return code- Return type: - New in version 1.12. 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.pre_set_parameter_request(r_t_s_p_client, ctx)¶
- Signal Name: - pre-set-parameter-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 - Returns: - a - GstRtsp.RTSPStatusCode,- GstRtsp.RTSPStatusCode.OKin case of success, otherwise an appropriate return code- Return type: - New in version 1.12. 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.pre_setup_request(r_t_s_p_client, ctx)¶
- Signal Name: - pre-setup-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 - Returns: - a - GstRtsp.RTSPStatusCode,- GstRtsp.RTSPStatusCode.OKin case of success, otherwise an appropriate return code- Return type: - New in version 1.12. 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.pre_teardown_request(r_t_s_p_client, ctx)¶
- Signal Name: - pre-teardown-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 - Returns: - a - GstRtsp.RTSPStatusCode,- GstRtsp.RTSPStatusCode.OKin case of success, otherwise an appropriate return code- Return type: - New in version 1.12. 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.record_request(r_t_s_p_client, ctx)¶
- Signal Name: - record-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.send_message(r_t_s_p_client, session, message)¶
- Signal Name: - send-message- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- session (GstRtspServer.RTSPSession) – The session
- message (GstRtsp.RTSPMessage) – The message
 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.set_parameter_request(r_t_s_p_client, ctx)¶
- Signal Name: - set-parameter-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.setup_request(r_t_s_p_client, ctx)¶
- Signal Name: - setup-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 
- r_t_s_p_client (
- 
GstRtspServer.RTSPClient.signals.teardown_request(r_t_s_p_client, ctx)¶
- Signal Name: - teardown-request- Flags: - Parameters: - r_t_s_p_client (GstRtspServer.RTSPClient) – The object which received the signal
- ctx (GstRtspServer.RTSPContext) – aGstRtspServer.RTSPContext
 
- r_t_s_p_client (
Property Details¶
- 
GstRtspServer.RTSPClient.props.drop_backlog¶
- Name: - drop-backlog- Type: - bool- Default Value: - True- Flags: - READABLE,- WRITABLE- Drop - GstRtsp.datawhen the backlog queue is full
- 
GstRtspServer.RTSPClient.props.mount_points¶
- Name: - mount-points- Type: - GstRtspServer.RTSPMountPoints- Default Value: - None- Flags: - READABLE,- WRITABLE- The mount points to use for client session 
- 
GstRtspServer.RTSPClient.props.post_session_timeout¶
- Name: - post-session-timeout- Type: - int- Default Value: - -1- Flags: - READABLE,- WRITABLE- An extra TCP connection timeout after session timeout 
- 
GstRtspServer.RTSPClient.props.session_pool¶
- Name: - session-pool- Type: - GstRtspServer.RTSPSessionPool- Default Value: - None- Flags: - READABLE,- WRITABLE- The session pool to use for client session