StreamTransport
Object Hierarchy:
Description:
[ CCode ( cname = "GstRTSPStreamTransport" , lower_case_cprefix = "gst_rtsp_stream_transport_" , type_id = "gst_rtsp_stream_transport_get_type ()" ) ]
[ GIR ( name = "RTSPStreamTransport" ) ]
public class StreamTransport : Object
A Transport description for a stream
Content:
Creation methods:
Methods:
- public string? get_rtpinfo (ClockTime start_time)
Get the RTP-Info string for this and
start_time
.
- public unowned Stream? get_stream ()
Get the Stream
used when constructing this.
- public unowned Transport? get_transport ()
Get the transport configured in this
.
- public unowned Url? get_url ()
Get the url configured in this.
- public bool is_timed_out ()
Check if this is timed out.
- public void keep_alive ()
Signal the installed keep_alive callback for
this.
- public void message_sent ()
Signal the installed message_sent / message_sent_full callback for
this.
- public FlowReturn recv_data (uint channel, owned Buffer buffer)
Receive buffer
on channel
this.
- public bool send_rtcp (Buffer buffer)
Send buffer
to the installed RTCP callback for
this.
- public bool send_rtcp_list (BufferList buffer_list)
Send buffer_list
to the installed RTCP callback for
this.
- public bool send_rtp (Buffer buffer)
Send buffer
to the installed RTP callback for
this.
- public bool send_rtp_list (BufferList buffer_list)
Send buffer_list
to the installed RTP callback for
this.
- public bool set_active (bool active)
Activate or deactivate datatransfer configured in
this.
- public void set_callbacks (SendFunc send_rtp, owned SendFunc send_rtcp)
Install callbacks that will be called when data for a stream should be
sent to a client.
- public void set_keepalive (owned KeepAliveFunc keep_alive)
Install callbacks that will be called when RTCP packets are received
from the receiver of this.
- public void set_list_callbacks (SendListFunc send_rtp_list, owned SendListFunc send_rtcp_list)
Install callbacks that will be called when data for a stream should be
sent to a client.
- public void set_message_sent (owned MessageSentFunc message_sent)
Install a callback that will be called when a message has been sent on
this.
- public void set_message_sent_full (owned MessageSentFuncFull message_sent)
Install a callback that will be called when a message has been sent on
this.
- public void set_timed_out (bool timedout)
Set the timed out state of this to
timedout
- public void set_transport (owned Transport tr)
Set tr
as the client transport.
- public void set_url (Url? url)
Set url
as the client url.
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