Client
Object Hierarchy:
Gst.RTSPServer.Client
Gst.RTSPServer.Client
Gst.RTSPServer.Client
GLib.Object
GLib.Object
GLib.Object->Gst.RTSPServer.Client
Description:
[ CCode ( cname = "GstRTSPClient" , lower_case_cprefix = "gst_rtsp_client_" , type_id = "gst_rtsp_client_get_type ()" ) ] [ GIR ( name = "RTSPClient" ) ]public class Client : Object
The client object represents the connection and its state with a client.
Content:
Properties:
Creation methods:
Methods:
public virtual StatusCode adjust_play_mode (Context context, TimeRange range, SeekFlags flags, double rate, ClockTime trickmode_interval, bool enable_rate_control)
public virtual StatusCode adjust_play_response (Context context)
public uint attach (MainContext ? context)
Attaches this to context
.
public void close ()
Close the connection of this and
remove all media it was managing.
public virtual bool configure_client_media (Media media, Stream stream, Context ctx)
public virtual bool configure_client_transport (Context ctx, Transport ct)
public virtual Message create_sdp (Media media)
public Auth ? get_auth ()
Get the Auth used
as the authentication manager of this .
public unowned Connection ? get_connection ()
Get the Connection of
this .
public uint get_content_length_limit ()
Get the Content-Length limit of this
.
public MountPoints ? get_mount_points ()
Get the
MountPoints object that this uses to manage its sessions.
public SessionPool ? get_session_pool ()
Get the
SessionPool object that this uses to manage its sessions.
public unowned StreamTransport ? get_stream_transport (uint8 channel)
This is useful when providing a send function through
set_send_func when doing RTSP over TCP: the send function must
call gst_rtsp_stream_transport_message_sent () on the appropriate transport when data has been received for streaming to continue.
public ThreadPool ? get_thread_pool ()
Get the
ThreadPool used as the thread pool of this .
public Result handle_message (Message message)
Let the client handle message
.
public virtual bool handle_sdp (Context ctx, Media media, Message sdp)
public virtual string make_path_from_uri (Url uri)
public virtual Result params_get (Context ctx)
public virtual Result params_set (Context ctx)
public List <Session > session_filter (ClientSessionFilterFunc ? func)
Call func
for each session managed by
this .
public void set_auth (Auth ? auth)
configure auth
to be used as the authentication manager
of this .
public bool set_connection (owned Connection conn)
Set the Connection of
this .
public void set_content_length_limit (uint limit)
Configure this to use the specified
Content-Length limit.
public void set_mount_points (MountPoints ? mounts)
Set mounts
as the mount points for
this which it will use to map urls to media streams.
public void set_send_func (owned ClientSendFunc func)
Set func
as the callback that will be called when a new
message needs to be sent to the client.
public void set_send_messages_func (owned ClientSendMessagesFunc func)
Set func
as the callback that will be called when new
messages needs to be sent to the client.
public void set_session_pool (SessionPool ? pool)
Set pool
as the sessionpool for
this which it will use to find or allocate sessions.
public void set_thread_pool (ThreadPool ? pool)
configure pool
to be used as the thread pool of
this .
public virtual void tunnel_http_response (Message request, Message response)
Signals:
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref