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
[ GIR ( name = "RTSPStreamTransport" ) ]
public class StreamTransport : Object
A Transport description for a stream
Namespace: Gst.RTSPServer
Package: gstreamer-rtsp-server-1.0
Content:
Creation methods:
- public StreamTransport (Stream stream, owned Transport tr)
Create a new StreamTransport that can be used to manage
stream
with transporttr
.
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
onchannel
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