1 /* gstreamer-rtsp-server-1.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", gir_namespace = "GstRtspServer", gir_version = "1.0", lower_case_cprefix = "gst_")]
6 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPAddress", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "gst_rtsp_address_", type_id = "gst_rtsp_address_get_type ()")]
8 [GIR (name = "RTSPAddress")]
10 public string address;
12 public Gst.RTSPServer.AddressPool pool;
15 public Gst.RTSPServer.Address copy ();
18 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPAddressPool", lower_case_cprefix = "gst_rtsp_address_pool_", type_id = "gst_rtsp_address_pool_get_type ()")]
19 [GIR (name = "RTSPAddressPool")]
20 public class AddressPool : GLib.Object {
21 [CCode (cname = "GST_RTSP_ADDRESS_POOL_ANY_IPV4")]
22 public const string ANY_IPV4;
23 [CCode (cname = "GST_RTSP_ADDRESS_POOL_ANY_IPV6")]
24 public const string ANY_IPV6;
25 [CCode (has_construct_function = false)]
26 public AddressPool ();
27 public Gst.RTSPServer.Address? acquire_address (Gst.RTSPServer.AddressFlags flags, int n_ports);
28 public bool add_range (string min_address, string max_address, uint16 min_port, uint16 max_port, uint8 ttl);
31 public bool has_unicast_addresses ();
32 public Gst.RTSPServer.AddressPoolResult reserve_address (string ip_address, uint port, uint n_ports, uint ttl, out Gst.RTSPServer.Address address);
34 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPAuth", lower_case_cprefix = "gst_rtsp_auth_", type_id = "gst_rtsp_auth_get_type ()")]
35 [GIR (name = "RTSPAuth")]
36 public class Auth : GLib.Object {
37 [CCode (cname = "GST_RTSP_AUTH_CHECK_CONNECT")]
38 public const string CHECK_CONNECT;
39 [CCode (cname = "GST_RTSP_AUTH_CHECK_MEDIA_FACTORY_ACCESS")]
40 public const string CHECK_MEDIA_FACTORY_ACCESS;
41 [CCode (cname = "GST_RTSP_AUTH_CHECK_MEDIA_FACTORY_CONSTRUCT")]
42 public const string CHECK_MEDIA_FACTORY_CONSTRUCT;
43 [CCode (cname = "GST_RTSP_AUTH_CHECK_TRANSPORT_CLIENT_SETTINGS")]
44 public const string CHECK_TRANSPORT_CLIENT_SETTINGS;
45 [CCode (cname = "GST_RTSP_AUTH_CHECK_URL")]
46 public const string CHECK_URL;
47 [CCode (has_construct_function = false)]
49 public void add_basic (string basic, Gst.RTSPServer.Token token);
50 [Version (since = "1.12")]
51 public void add_digest (string user, string pass, Gst.RTSPServer.Token token);
53 public virtual bool authenticate (Gst.RTSPServer.Context ctx);
55 public virtual bool check (Gst.RTSPServer.Context ctx, string check);
56 [CCode (cname = "gst_rtsp_auth_check")]
57 public static bool check_current_context (string check);
59 public virtual void generate_authenticate_header (Gst.RTSPServer.Context ctx);
60 public Gst.RTSPServer.Token? get_default_token ();
61 [Version (since = "1.16")]
62 public string get_realm ();
63 [Version (since = "1.12")]
64 public Gst.RTSP.AuthMethod get_supported_methods ();
65 public GLib.TlsAuthenticationMode get_tls_authentication_mode ();
66 public GLib.TlsCertificate? get_tls_certificate ();
67 [Version (since = "1.6")]
68 public GLib.TlsDatabase? get_tls_database ();
69 public static string make_basic (string user, string pass);
70 [Version (since = "1.16")]
71 public bool parse_htdigest (string path, Gst.RTSPServer.Token token);
72 public void remove_basic (string basic);
73 [Version (since = "1.12")]
74 public void remove_digest (string user);
75 public void set_default_token (Gst.RTSPServer.Token? token);
76 [Version (since = "1.16")]
77 public void set_realm (string realm);
78 [Version (since = "1.12")]
79 public void set_supported_methods (Gst.RTSP.AuthMethod methods);
80 [Version (since = "1.6")]
81 public void set_tls_authentication_mode (GLib.TlsAuthenticationMode mode);
82 public void set_tls_certificate (GLib.TlsCertificate? cert);
83 public void set_tls_database (GLib.TlsDatabase? database);
84 [Version (since = "1.6")]
85 public virtual signal bool accept_certificate (GLib.TlsConnection connection, GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors);
87 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPClient", lower_case_cprefix = "gst_rtsp_client_", type_id = "gst_rtsp_client_get_type ()")]
88 [GIR (name = "RTSPClient")]
89 public class Client : GLib.Object {
90 [CCode (has_construct_function = false)]
92 public uint attach (GLib.MainContext? context);
93 [Version (since = "1.4")]
96 public virtual bool configure_client_media (Gst.RTSPServer.Media media, Gst.RTSPServer.Stream stream, Gst.RTSPServer.Context ctx);
98 public virtual bool configure_client_transport (Gst.RTSPServer.Context ctx, Gst.RTSP.Transport ct);
100 public virtual Gst.SDP.Message create_sdp (Gst.RTSPServer.Media media);
101 public Gst.RTSPServer.Auth? get_auth ();
102 public unowned Gst.RTSP.Connection? get_connection ();
103 public Gst.RTSPServer.MountPoints? get_mount_points ();
104 public Gst.RTSPServer.SessionPool? get_session_pool ();
105 public Gst.RTSPServer.ThreadPool? get_thread_pool ();
106 public Gst.RTSP.Result handle_message (Gst.RTSP.Message message);
108 public virtual bool handle_sdp (Gst.RTSPServer.Context ctx, Gst.RTSPServer.Media media, Gst.SDP.Message sdp);
110 public virtual string make_path_from_uri (Gst.RTSP.Url uri);
112 public virtual Gst.RTSP.Result params_get (Gst.RTSPServer.Context ctx);
114 public virtual Gst.RTSP.Result params_set (Gst.RTSPServer.Context ctx);
115 public GLib.List<Gst.RTSPServer.Session> session_filter (Gst.RTSPServer.ClientSessionFilterFunc? func);
116 public void set_auth (Gst.RTSPServer.Auth? auth);
117 public bool set_connection (owned Gst.RTSP.Connection conn);
118 public void set_mount_points (Gst.RTSPServer.MountPoints? mounts);
119 public void set_send_func (owned Gst.RTSPServer.ClientSendFunc func);
120 public void set_session_pool (Gst.RTSPServer.SessionPool? pool);
121 public void set_thread_pool (Gst.RTSPServer.ThreadPool? pool);
123 public virtual void tunnel_http_response (Gst.RTSP.Message request, Gst.RTSP.Message response);
125 public bool drop_backlog { get; set; }
126 public Gst.RTSPServer.MountPoints mount_points { owned get; set; }
127 public Gst.RTSPServer.SessionPool session_pool { owned get; set; }
128 public virtual signal void announce_request (Gst.RTSPServer.Context ctx);
129 [Version (since = "1.6")]
130 public virtual signal string check_requirements (Gst.RTSPServer.Context ctx, [CCode (array_length = false, array_null_terminated = true)] string[] arr);
131 public virtual signal void closed ();
132 public virtual signal void describe_request (Gst.RTSPServer.Context ctx);
133 public virtual signal void get_parameter_request (Gst.RTSPServer.Context ctx);
134 public virtual signal void handle_response (Gst.RTSPServer.Context ctx);
135 public virtual signal void new_session (Gst.RTSPServer.Session session);
136 public virtual signal void options_request (Gst.RTSPServer.Context ctx);
137 public virtual signal void pause_request (Gst.RTSPServer.Context ctx);
138 public virtual signal void play_request (Gst.RTSPServer.Context ctx);
139 [Version (since = "1.12")]
140 public virtual signal Gst.RTSP.StatusCode pre_announce_request (Gst.RTSPServer.Context ctx);
141 [Version (since = "1.12")]
142 public virtual signal Gst.RTSP.StatusCode pre_describe_request (Gst.RTSPServer.Context ctx);
143 [Version (since = "1.12")]
144 public virtual signal Gst.RTSP.StatusCode pre_get_parameter_request (Gst.RTSPServer.Context ctx);
145 [Version (since = "1.12")]
146 public virtual signal Gst.RTSP.StatusCode pre_options_request (Gst.RTSPServer.Context ctx);
147 [Version (since = "1.12")]
148 public virtual signal Gst.RTSP.StatusCode pre_pause_request (Gst.RTSPServer.Context ctx);
149 [Version (since = "1.12")]
150 public virtual signal Gst.RTSP.StatusCode pre_play_request (Gst.RTSPServer.Context ctx);
151 [Version (since = "1.12")]
152 public virtual signal Gst.RTSP.StatusCode pre_record_request (Gst.RTSPServer.Context ctx);
153 [Version (since = "1.12")]
154 public virtual signal Gst.RTSP.StatusCode pre_set_parameter_request (Gst.RTSPServer.Context ctx);
155 [Version (since = "1.12")]
156 public virtual signal Gst.RTSP.StatusCode pre_setup_request (Gst.RTSPServer.Context ctx);
157 [Version (since = "1.12")]
158 public virtual signal Gst.RTSP.StatusCode pre_teardown_request (Gst.RTSPServer.Context ctx);
159 public virtual signal void record_request (Gst.RTSPServer.Context ctx);
161 public virtual signal void send_message (Gst.RTSPServer.Session ctx, Gst.RTSP.Message response);
162 public virtual signal void set_parameter_request (Gst.RTSPServer.Context ctx);
163 public virtual signal void setup_request (Gst.RTSPServer.Context ctx);
164 public virtual signal void teardown_request (Gst.RTSPServer.Context ctx);
166 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPMedia", lower_case_cprefix = "gst_rtsp_media_", type_id = "gst_rtsp_media_get_type ()")]
167 [GIR (name = "RTSPMedia")]
168 public class Media : GLib.Object {
169 [CCode (has_construct_function = false)]
170 public Media (owned Gst.Element element);
171 public void collect_streams ();
172 public bool complete_pipeline (GLib.GenericArray<Gst.RTSP.Transport?> transports);
174 public virtual bool convert_range (Gst.RTSP.TimeRange range, Gst.RTSP.RangeUnit unit);
175 [CCode (returns_floating_reference = true)]
177 public virtual Gst.Element create_rtpbin ();
178 public unowned Gst.RTSPServer.Stream create_stream (Gst.Element payloader, Gst.Pad pad);
179 public unowned Gst.RTSPServer.Stream? find_stream (string control);
180 public Gst.RTSPServer.AddressPool? get_address_pool ();
181 public Gst.ClockTime get_base_time ();
182 public uint get_buffer_size ();
183 public Gst.Clock? get_clock ();
184 [Version (since = "1.16")]
185 public bool get_do_retransmission ();
186 public Gst.Element get_element ();
187 public uint get_latency ();
188 public uint get_max_mcast_ttl ();
189 public string? get_multicast_iface ();
190 public Gst.RTSPServer.Permissions? get_permissions ();
191 public Gst.RTSP.Profile get_profiles ();
192 public Gst.RTSP.LowerTrans get_protocols ();
193 [Version (since = "1.8")]
194 public Gst.RTSPServer.PublishClockMode get_publish_clock_mode ();
195 public string? get_range_string (bool play, Gst.RTSP.RangeUnit unit);
196 public Gst.ClockTime get_retransmission_time ();
197 public Gst.RTSPServer.MediaStatus get_status ();
198 public unowned Gst.RTSPServer.Stream? get_stream (uint idx);
199 public Gst.RTSPServer.SuspendMode get_suspend_mode ();
200 public Gst.Net.TimeProvider get_time_provider (string? address, uint16 port);
201 public Gst.RTSPServer.TransportMode get_transport_mode ();
203 public virtual bool handle_message (Gst.Message message);
204 public virtual bool handle_sdp (Gst.SDP.Message sdp);
205 public bool is_eos_shutdown ();
206 public bool is_reusable ();
207 public bool is_shared ();
208 public bool is_stop_on_disconnect ();
209 public bool is_time_provider ();
210 public uint n_streams ();
211 public virtual bool prepare (owned Gst.RTSPServer.Thread? thread);
213 public virtual bool query_position (int64 position);
215 public virtual bool query_stop (int64 stop);
216 public bool seek (Gst.RTSP.TimeRange range);
217 public bool seek_full (Gst.RTSP.TimeRange range, Gst.SeekFlags flags);
218 public Gst.ClockTimeDiff seekable ();
219 public void set_address_pool (Gst.RTSPServer.AddressPool? pool);
220 public void set_buffer_size (uint size);
221 public void set_clock (Gst.Clock? clock);
222 [Version (since = "1.16")]
223 public void set_do_retransmission (bool do_retransmission);
224 public void set_eos_shutdown (bool eos_shutdown);
225 public void set_latency (uint latency);
226 public bool set_max_mcast_ttl (uint ttl);
227 public void set_multicast_iface (string? multicast_iface);
228 public void set_permissions (Gst.RTSPServer.Permissions? permissions);
229 public void set_pipeline_state (Gst.State state);
230 public void set_profiles (Gst.RTSP.Profile profiles);
231 public void set_protocols (Gst.RTSP.LowerTrans protocols);
232 [Version (since = "1.8")]
233 public void set_publish_clock_mode (Gst.RTSPServer.PublishClockMode mode);
234 public void set_retransmission_time (Gst.ClockTime time);
235 public void set_reusable (bool reusable);
236 public void set_shared (bool shared);
237 public bool set_state (Gst.State state, GLib.GenericArray<Gst.RTSPServer.StreamTransport> transports);
238 public void set_stop_on_disconnect (bool stop_on_disconnect);
239 public void set_suspend_mode (Gst.RTSPServer.SuspendMode mode);
240 public void set_transport_mode (Gst.RTSPServer.TransportMode mode);
242 public virtual bool setup_rtpbin (Gst.Element rtpbin);
243 public virtual bool setup_sdp (Gst.SDP.Message sdp, Gst.RTSPServer.SDPInfo info);
244 public virtual bool suspend ();
245 public void take_pipeline (owned Gst.Pipeline pipeline);
246 public virtual bool unprepare ();
247 public virtual bool unsuspend ();
248 public void use_time_provider (bool time_provider);
249 public uint buffer_size { get; set; }
250 public Gst.Clock clock { owned get; set; }
251 public Gst.Element element { owned get; construct; }
253 public bool eos_shutdown { get; set; }
254 public uint latency { get; set; }
255 public uint max_mcast_ttl { get; set; }
256 public Gst.RTSP.Profile profiles { get; set; }
257 public Gst.RTSP.LowerTrans protocols { get; set; }
259 public bool reusable { get; set; }
261 public bool shared { get; set; }
263 public bool stop_on_disconnect { get; set; }
264 public Gst.RTSPServer.SuspendMode suspend_mode { get; set; }
266 public bool time_provider { get; set; }
267 public Gst.RTSPServer.TransportMode transport_mode { get; set; }
268 public virtual signal void new_state (int state);
269 public virtual signal void new_stream (Gst.RTSPServer.Stream stream);
270 public virtual signal void prepared ();
271 public virtual signal void removed_stream (Gst.RTSPServer.Stream stream);
272 public virtual signal void target_state (int state);
273 public virtual signal void unprepared ();
275 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPMediaFactory", lower_case_cprefix = "gst_rtsp_media_factory_", type_id = "gst_rtsp_media_factory_get_type ()")]
276 [GIR (name = "RTSPMediaFactory")]
277 public class MediaFactory : GLib.Object {
278 [CCode (has_construct_function = false)]
279 public MediaFactory ();
280 public void add_role (string role, string fieldname, ...);
281 [Version (since = "1.14")]
282 public void add_role_from_structure (Gst.Structure structure);
284 public virtual void configure (Gst.RTSPServer.Media media);
285 public virtual Gst.RTSPServer.Media @construct (Gst.RTSP.Url url);
286 [CCode (returns_floating_reference = true)]
287 public virtual Gst.Element create_element (Gst.RTSP.Url url);
288 [CCode (returns_floating_reference = true)]
290 public virtual Gst.Pipeline create_pipeline (Gst.RTSPServer.Media media);
292 public virtual string gen_key (Gst.RTSP.Url url);
293 public Gst.RTSPServer.AddressPool? get_address_pool ();
294 public uint get_buffer_size ();
295 [Version (since = "1.8")]
296 public Gst.Clock get_clock ();
297 [Version (since = "1.16")]
298 public bool get_do_retransmission ();
299 public uint get_latency ();
300 public string? get_launch ();
301 public uint get_max_mcast_ttl ();
302 [Version (since = "1.6")]
303 public GLib.Type get_media_gtype ();
304 public string? get_multicast_iface ();
305 public Gst.RTSPServer.Permissions? get_permissions ();
306 public Gst.RTSP.Profile get_profiles ();
307 public Gst.RTSP.LowerTrans get_protocols ();
308 [Version (since = "1.8")]
309 public Gst.RTSPServer.PublishClockMode get_publish_clock_mode ();
310 public Gst.ClockTime get_retransmission_time ();
311 public Gst.RTSPServer.SuspendMode get_suspend_mode ();
312 public Gst.RTSPServer.TransportMode get_transport_mode ();
313 public bool is_eos_shutdown ();
314 public bool is_shared ();
315 public bool is_stop_on_disonnect ();
316 public void set_address_pool (Gst.RTSPServer.AddressPool? pool);
317 public void set_buffer_size (uint size);
318 [Version (since = "1.8")]
319 public void set_clock (Gst.Clock? clock);
320 [Version (since = "1.16")]
321 public void set_do_retransmission (bool do_retransmission);
322 public void set_eos_shutdown (bool eos_shutdown);
323 public void set_latency (uint latency);
324 public void set_launch (string launch);
325 public bool set_max_mcast_ttl (uint ttl);
326 [Version (since = "1.6")]
327 public void set_media_gtype (GLib.Type media_gtype);
328 public void set_multicast_iface (string? multicast_iface);
329 public void set_permissions (Gst.RTSPServer.Permissions? permissions);
330 public void set_profiles (Gst.RTSP.Profile profiles);
331 public void set_protocols (Gst.RTSP.LowerTrans protocols);
332 [Version (since = "1.8")]
333 public void set_publish_clock_mode (Gst.RTSPServer.PublishClockMode mode);
334 public void set_retransmission_time (Gst.ClockTime time);
335 public void set_shared (bool shared);
336 public void set_stop_on_disconnect (bool stop_on_disconnect);
337 public void set_suspend_mode (Gst.RTSPServer.SuspendMode mode);
338 public void set_transport_mode (Gst.RTSPServer.TransportMode mode);
339 public uint buffer_size { get; set; }
340 public Gst.Clock clock { owned get; set; }
342 public bool eos_shutdown { get; set; }
343 public uint latency { get; set; }
344 public string launch { owned get; set; }
345 public uint max_mcast_ttl { get; set; }
346 public Gst.RTSP.Profile profiles { get; set; }
347 public Gst.RTSP.LowerTrans protocols { get; set; }
349 public bool shared { get; set; }
351 public bool stop_on_disconnect { get; set; }
352 public Gst.RTSPServer.SuspendMode suspend_mode { get; set; }
353 public Gst.RTSPServer.TransportMode transport_mode { get; set; }
354 public virtual signal void media_configure (Gst.RTSPServer.Media media);
355 public virtual signal void media_constructed (Gst.RTSPServer.Media media);
357 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPMediaFactoryURI", lower_case_cprefix = "gst_rtsp_media_factory_uri_", type_id = "gst_rtsp_media_factory_uri_get_type ()")]
358 [GIR (name = "RTSPMediaFactoryURI")]
359 public class MediaFactoryURI : Gst.RTSPServer.MediaFactory {
360 [CCode (has_construct_function = false)]
361 public MediaFactoryURI ();
362 public string get_uri ();
363 public void set_uri (string uri);
364 public string uri { owned get; set; }
366 public bool use_gstpay { get; set; }
368 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPMountPoints", lower_case_cprefix = "gst_rtsp_mount_points_", type_id = "gst_rtsp_mount_points_get_type ()")]
369 [GIR (name = "RTSPMountPoints")]
370 public class MountPoints : GLib.Object {
371 [CCode (has_construct_function = false)]
372 public MountPoints ();
373 public void add_factory (string path, owned Gst.RTSPServer.MediaFactory factory);
374 public virtual string? make_path (Gst.RTSP.Url url);
375 public Gst.RTSPServer.MediaFactory match (string path, out int matched);
376 public void remove_factory (string path);
378 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPOnvifClient", lower_case_cprefix = "gst_rtsp_onvif_client_", type_id = "gst_rtsp_onvif_client_get_type ()")]
379 [GIR (name = "RTSPOnvifClient")]
380 public class OnvifClient : Gst.RTSPServer.Client {
381 [CCode (has_construct_function = false)]
382 protected OnvifClient ();
384 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPOnvifMedia", lower_case_cprefix = "gst_rtsp_onvif_media_", type_id = "gst_rtsp_onvif_media_get_type ()")]
385 [GIR (name = "RTSPOnvifMedia")]
386 public class OnvifMedia : Gst.RTSPServer.Media {
387 [CCode (has_construct_function = false)]
388 protected OnvifMedia ();
389 [Version (since = "1.14")]
390 public bool collect_backchannel ();
391 [Version (since = "1.14")]
392 public uint get_backchannel_bandwidth ();
393 [Version (since = "1.14")]
394 public void set_backchannel_bandwidth (uint bandwidth);
396 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPOnvifMediaFactory", lower_case_cprefix = "gst_rtsp_onvif_media_factory_", type_id = "gst_rtsp_onvif_media_factory_get_type ()")]
397 [GIR (name = "RTSPOnvifMediaFactory")]
398 public class OnvifMediaFactory : Gst.RTSPServer.MediaFactory {
399 [CCode (has_construct_function = false, type = "GstRTSPMediaFactory*")]
400 [Version (since = "1.14")]
401 public OnvifMediaFactory ();
402 [Version (since = "1.14")]
403 public uint get_backchannel_bandwidth ();
404 [Version (since = "1.14")]
405 public string get_backchannel_launch ();
406 [Version (since = "1.14")]
407 public virtual bool has_backchannel_support ();
408 [Version (since = "1.14")]
409 public static bool requires_backchannel (Gst.RTSPServer.MediaFactory factory, Gst.RTSPServer.Context ctx);
410 [Version (since = "1.14")]
411 public void set_backchannel_bandwidth (uint bandwidth);
412 [Version (since = "1.14")]
413 public void set_backchannel_launch (string launch);
415 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPOnvifServer", lower_case_cprefix = "gst_rtsp_onvif_server_", type_id = "gst_rtsp_onvif_server_get_type ()")]
416 [GIR (name = "RTSPOnvifServer")]
417 public class OnvifServer : Gst.RTSPServer.Server {
418 [CCode (has_construct_function = false, type = "GstRTSPServer*")]
419 public OnvifServer ();
421 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPPermissions", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "gst_rtsp_permissions_", type_id = "gst_rtsp_permissions_get_type ()")]
423 [GIR (name = "RTSPPermissions")]
424 public class Permissions : Gst.MiniObject {
425 [CCode (cname = "GST_RTSP_PERM_MEDIA_FACTORY_ACCESS")]
426 public const string MEDIA_FACTORY_ACCESS;
427 [CCode (cname = "GST_RTSP_PERM_MEDIA_FACTORY_CONSTRUCT")]
428 public const string MEDIA_FACTORY_CONSTRUCT;
429 [CCode (has_construct_function = false)]
430 public Permissions ();
431 [Version (since = "1.14")]
432 public void add_permission_for_role (string role, string permission, bool allowed);
433 public void add_role (string role, string fieldname, ...);
434 [Version (since = "1.14")]
435 public void add_role_empty (string role);
436 [Version (since = "1.14")]
437 public void add_role_from_structure (Gst.Structure structure);
438 public void add_role_valist (string role, string fieldname, va_list var_args);
439 public unowned Gst.Structure get_role (string role);
440 public bool is_allowed (string role, string permission);
441 public void remove_role (string role);
443 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPServer", lower_case_cprefix = "gst_rtsp_server_", type_id = "gst_rtsp_server_get_type ()")]
444 [GIR (name = "RTSPServer")]
445 public class Server : GLib.Object {
446 [CCode (has_construct_function = false)]
448 public uint attach (GLib.MainContext? context);
449 public GLib.List<Gst.RTSPServer.Client> client_filter (Gst.RTSPServer.ServerClientFilterFunc? func);
451 public virtual Gst.RTSPServer.Client create_client ();
452 public GLib.Socket create_socket (GLib.Cancellable? cancellable = null) throws GLib.Error;
453 public GLib.Source create_source (GLib.Cancellable? cancellable = null) throws GLib.Error;
454 public string? get_address ();
455 public Gst.RTSPServer.Auth? get_auth ();
456 public int get_backlog ();
457 public int get_bound_port ();
458 public Gst.RTSPServer.MountPoints? get_mount_points ();
459 public string? get_service ();
460 public Gst.RTSPServer.SessionPool? get_session_pool ();
461 public Gst.RTSPServer.ThreadPool? get_thread_pool ();
462 public static bool io_func (GLib.Socket socket, GLib.IOCondition condition, Gst.RTSPServer.Server server);
463 public void set_address (string address);
464 public void set_auth (Gst.RTSPServer.Auth? auth);
465 public void set_backlog (int backlog);
466 public void set_mount_points (Gst.RTSPServer.MountPoints? mounts);
467 public void set_service (string service);
468 public void set_session_pool (Gst.RTSPServer.SessionPool? pool);
469 public void set_thread_pool (Gst.RTSPServer.ThreadPool? pool);
470 public bool transfer_connection (owned GLib.Socket socket, string ip, int port, string? initial_buffer);
471 public string address { owned get; set; }
472 public int backlog { get; set; }
473 public int bound_port { get; }
474 public Gst.RTSPServer.MountPoints mount_points { owned get; set; }
475 public string service { owned get; set; }
476 public Gst.RTSPServer.SessionPool session_pool { owned get; set; }
477 public virtual signal void client_connected (Gst.RTSPServer.Client client);
479 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSession", lower_case_cprefix = "gst_rtsp_session_", type_id = "gst_rtsp_session_get_type ()")]
480 [GIR (name = "RTSPSession")]
481 public class Session : GLib.Object {
482 [CCode (has_construct_function = false)]
483 public Session (string sessionid);
484 public void allow_expire ();
485 public GLib.List<Gst.RTSPServer.SessionMedia> filter (Gst.RTSPServer.SessionFilterFunc? func);
486 public string? get_header ();
487 public unowned Gst.RTSPServer.SessionMedia? get_media (string path, out int matched);
488 public unowned string? get_sessionid ();
489 public uint get_timeout ();
490 [Version (deprecated = true)]
491 public bool is_expired (GLib.TimeVal now);
492 public bool is_expired_usec (int64 now);
493 public unowned Gst.RTSPServer.SessionMedia manage_media (string path, owned Gst.RTSPServer.Media media);
494 [Version (deprecated = true)]
495 public int next_timeout (GLib.TimeVal now);
496 public int next_timeout_usec (int64 now);
497 public void prevent_expire ();
498 public bool release_media (Gst.RTSPServer.SessionMedia media);
499 public void set_timeout (uint timeout);
500 public void touch ();
501 public string sessionid { get; construct; }
502 public uint timeout { get; set; }
504 public bool timeout_always_visible { get; set; }
506 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSessionMedia", lower_case_cprefix = "gst_rtsp_session_media_", type_id = "gst_rtsp_session_media_get_type ()")]
507 [GIR (name = "RTSPSessionMedia")]
508 public class SessionMedia : GLib.Object {
509 [CCode (has_construct_function = false)]
510 public SessionMedia (string path, owned Gst.RTSPServer.Media media);
511 public bool alloc_channels (out Gst.RTSP.Range range);
512 public Gst.ClockTime get_base_time ();
513 public unowned Gst.RTSPServer.Media? get_media ();
514 public string? get_rtpinfo ();
515 public Gst.RTSP.State get_rtsp_state ();
516 public unowned Gst.RTSPServer.StreamTransport? get_transport (uint idx);
517 public GLib.GenericArray<Gst.RTSPServer.StreamTransport> get_transports ();
518 public bool matches (string path, out int matched);
519 public void set_rtsp_state (Gst.RTSP.State state);
520 public bool set_state (Gst.State state);
521 public unowned Gst.RTSPServer.StreamTransport set_transport (Gst.RTSPServer.Stream stream, owned Gst.RTSP.Transport tr);
523 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSessionPool", lower_case_cprefix = "gst_rtsp_session_pool_", type_id = "gst_rtsp_session_pool_get_type ()")]
524 [GIR (name = "RTSPSessionPool")]
525 public class SessionPool : GLib.Object {
526 [CCode (has_construct_function = false)]
527 public SessionPool ();
528 public uint cleanup ();
529 public Gst.RTSPServer.Session? create ();
531 public virtual Gst.RTSPServer.Session create_session (string id);
533 public virtual string create_session_id ();
534 public GLib.Source create_watch ();
535 public GLib.List<Gst.RTSPServer.Session> filter (Gst.RTSPServer.SessionPoolFilterFunc? func);
536 public Gst.RTSPServer.Session? find (string sessionid);
537 public uint get_max_sessions ();
538 public uint get_n_sessions ();
539 public bool remove (Gst.RTSPServer.Session sess);
540 public void set_max_sessions (uint max);
541 public uint max_sessions { get; set; }
542 public virtual signal void session_removed (Gst.RTSPServer.Session session);
544 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPStream", lower_case_cprefix = "gst_rtsp_stream_", type_id = "gst_rtsp_stream_get_type ()")]
545 [GIR (name = "RTSPStream")]
546 public class Stream : GLib.Object {
547 [CCode (has_construct_function = false)]
548 public Stream (uint idx, Gst.Element payloader, Gst.Pad pad);
549 public bool add_multicast_client_address (string destination, uint rtp_port, uint rtcp_port, GLib.SocketFamily family);
550 public bool add_transport (Gst.RTSPServer.StreamTransport trans);
551 public bool allocate_udp_sockets (GLib.SocketFamily family, Gst.RTSP.Transport transport, bool use_client_settings);
552 public bool complete_stream (Gst.RTSP.Transport transport);
553 public Gst.RTSPServer.AddressPool? get_address_pool ();
554 [Version (since = "1.6")]
555 public uint get_buffer_size ();
556 public Gst.Caps? get_caps ();
557 public string? get_control ();
558 public uint16 get_current_seqnum ();
559 public int get_dscp_qos ();
560 public uint get_index ();
561 public Gst.Bin? get_joined_bin ();
562 public uint get_max_mcast_ttl ();
563 public uint get_mtu ();
564 public Gst.RTSPServer.Address? get_multicast_address (GLib.SocketFamily family);
565 public string get_multicast_client_addresses ();
566 public string? get_multicast_iface ();
567 public Gst.RTSP.Profile get_profiles ();
568 public Gst.RTSP.LowerTrans get_protocols ();
569 public uint get_pt ();
570 [Version (since = "1.8")]
571 public Gst.RTSPServer.PublishClockMode get_publish_clock_mode ();
572 public uint get_retransmission_pt ();
573 public Gst.ClockTime get_retransmission_time ();
574 public GLib.Socket? get_rtcp_multicast_socket (GLib.SocketFamily family);
575 public GLib.Socket? get_rtcp_socket (GLib.SocketFamily family);
576 public GLib.Socket? get_rtp_multicast_socket (GLib.SocketFamily family);
577 public GLib.Socket? get_rtp_socket (GLib.SocketFamily family);
578 public bool get_rtpinfo (out uint rtptime, out uint seq, out uint clock_rate, out Gst.ClockTime running_time);
579 public GLib.Object get_rtpsession ();
580 public void get_server_port (out Gst.RTSP.Range server_port, GLib.SocketFamily family);
581 public Gst.Pad? get_sinkpad ();
582 public Gst.Pad? get_srcpad ();
583 public Gst.Element get_srtp_encoder ();
584 public void get_ssrc (out uint ssrc);
585 public bool get_ulpfec_enabled ();
586 [Version (since = "1.16")]
587 public uint get_ulpfec_percentage ();
588 [Version (since = "1.16")]
589 public uint get_ulpfec_pt ();
590 [Version (since = "1.16")]
591 public bool handle_keymgmt (string keymgmt);
592 public bool has_control (string? control);
593 public bool is_blocking ();
594 public bool is_client_side ();
595 public bool is_complete ();
596 public bool is_receiver ();
597 public bool is_sender ();
598 public bool is_transport_supported (Gst.RTSP.Transport transport);
599 public bool join_bin (Gst.Bin bin, Gst.Element rtpbin, Gst.State state);
600 public bool leave_bin (Gst.Bin bin, Gst.Element rtpbin);
601 public bool query_position (out int64 position);
602 public bool query_stop (out int64 stop);
603 public Gst.FlowReturn recv_rtcp (owned Gst.Buffer buffer);
604 public Gst.FlowReturn recv_rtp (owned Gst.Buffer buffer);
605 public bool remove_transport (Gst.RTSPServer.StreamTransport trans);
606 [Version (since = "1.16")]
607 public Gst.Element? request_aux_receiver (uint sessid);
608 [Version (since = "1.6")]
609 public Gst.Element? request_aux_sender (uint sessid);
610 [Version (since = "1.16")]
611 public Gst.Element? request_ulpfec_decoder (Gst.Element rtpbin, uint sessid);
612 [Version (since = "1.16")]
613 public Gst.Element? request_ulpfec_encoder (uint sessid);
614 public Gst.RTSPServer.Address? reserve_address (string address, uint port, uint n_ports, uint ttl);
615 public bool seekable ();
616 public void set_address_pool (Gst.RTSPServer.AddressPool? pool);
617 public bool set_blocked (bool blocked);
618 [Version (since = "1.6")]
619 public void set_buffer_size (uint size);
620 public void set_client_side (bool client_side);
621 public void set_control (string? control);
622 public void set_dscp_qos (int dscp_qos);
623 public bool set_max_mcast_ttl (uint ttl);
624 public void set_mtu (uint mtu);
625 public void set_multicast_iface (string? multicast_iface);
626 public void set_profiles (Gst.RTSP.Profile profiles);
627 public void set_protocols (Gst.RTSP.LowerTrans protocols);
628 public void set_pt_map (uint pt, Gst.Caps caps);
629 [Version (since = "1.8")]
630 public void set_publish_clock_mode (Gst.RTSPServer.PublishClockMode mode);
631 public void set_retransmission_pt (uint rtx_pt);
632 public void set_retransmission_time (Gst.ClockTime time);
633 public void set_seqnum_offset (uint16 seqnum);
634 [Version (since = "1.16")]
635 public void set_ulpfec_percentage (uint percentage);
636 [Version (since = "1.16")]
637 public void set_ulpfec_pt (uint pt);
638 public GLib.List<Gst.RTSPServer.StreamTransport> transport_filter (Gst.RTSPServer.StreamTransportFilterFunc? func);
639 public bool unblock_linked ();
640 public bool update_crypto (uint ssrc, Gst.Caps? crypto);
641 public bool verify_mcast_ttl (uint ttl);
642 public string control { owned get; set; }
643 public Gst.RTSP.Profile profiles { get; set; }
644 public Gst.RTSP.LowerTrans protocols { get; set; }
645 public signal void new_rtcp_encoder (Gst.Element object);
646 public signal void new_rtp_encoder (Gst.Element object);
647 public signal void new_rtp_rtcp_decoder (Gst.Element object);
649 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPStreamTransport", lower_case_cprefix = "gst_rtsp_stream_transport_", type_id = "gst_rtsp_stream_transport_get_type ()")]
650 [GIR (name = "RTSPStreamTransport")]
651 public class StreamTransport : GLib.Object {
652 [CCode (has_construct_function = false)]
653 public StreamTransport (Gst.RTSPServer.Stream stream, owned Gst.RTSP.Transport tr);
654 public string? get_rtpinfo (Gst.ClockTime start_time);
655 public unowned Gst.RTSPServer.Stream? get_stream ();
656 public unowned Gst.RTSP.Transport? get_transport ();
657 public unowned Gst.RTSP.Url? get_url ();
658 public bool is_timed_out ();
659 public void keep_alive ();
660 public void message_sent ();
661 public Gst.FlowReturn recv_data (uint channel, owned Gst.Buffer buffer);
662 public bool send_rtcp (Gst.Buffer buffer);
663 public bool send_rtp (Gst.Buffer buffer);
664 public bool set_active (bool active);
665 public void set_callbacks (Gst.RTSPServer.SendFunc send_rtp, owned Gst.RTSPServer.SendFunc send_rtcp);
666 public void set_keepalive (owned Gst.RTSPServer.KeepAliveFunc keep_alive);
667 public void set_message_sent (owned Gst.RTSPServer.MessageSentFunc message_sent);
668 public void set_timed_out (bool timedout);
669 public void set_transport (owned Gst.RTSP.Transport tr);
670 public void set_url (Gst.RTSP.Url? url);
672 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPThread", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "gst_rtsp_thread_", type_id = "gst_rtsp_thread_get_type ()")]
674 [GIR (name = "RTSPThread")]
675 public class Thread : Gst.MiniObject {
676 public GLib.MainContext context;
677 public GLib.MainLoop loop;
678 public Gst.RTSPServer.ThreadType type;
679 [CCode (has_construct_function = false)]
680 public Thread (Gst.RTSPServer.ThreadType type);
681 public bool reuse ();
684 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPThreadPool", lower_case_cprefix = "gst_rtsp_thread_pool_", type_id = "gst_rtsp_thread_pool_get_type ()")]
685 [GIR (name = "RTSPThreadPool")]
686 public class ThreadPool : GLib.Object {
687 [CCode (has_construct_function = false)]
688 public ThreadPool ();
689 public static void cleanup ();
691 public virtual void configure_thread (Gst.RTSPServer.Thread thread, Gst.RTSPServer.Context ctx);
692 public int get_max_threads ();
693 public virtual Gst.RTSPServer.Thread? get_thread (Gst.RTSPServer.ThreadType type, Gst.RTSPServer.Context ctx);
694 public void set_max_threads (int max_threads);
696 public virtual void thread_enter (Gst.RTSPServer.Thread thread);
698 public virtual void thread_leave (Gst.RTSPServer.Thread thread);
699 public int max_threads { get; set; }
701 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPToken", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "gst_rtsp_token_", type_id = "gst_rtsp_token_get_type ()")]
703 [GIR (name = "RTSPToken")]
704 public class Token : Gst.MiniObject {
705 [CCode (cname = "GST_RTSP_TOKEN_MEDIA_FACTORY_ROLE")]
706 public const string MEDIA_FACTORY_ROLE;
707 [CCode (cname = "GST_RTSP_TOKEN_TRANSPORT_CLIENT_SETTINGS")]
708 public const string TRANSPORT_CLIENT_SETTINGS;
709 [CCode (has_construct_function = false)]
710 public Token (string firstfield, ...);
711 [CCode (has_construct_function = false)]
712 public Token.empty ();
713 public unowned string? get_string (string field);
714 public unowned Gst.Structure get_structure ();
715 public bool is_allowed (string field);
716 [Version (since = "1.14")]
717 public void set_bool (string field, bool bool_value);
718 [Version (since = "1.14")]
719 public void set_string (string field, string string_value);
720 [CCode (has_construct_function = false)]
721 public Token.valist (string firstfield, va_list var_args);
722 public unowned Gst.Structure writable_structure ();
724 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPContext", has_type_id = false)]
725 [GIR (name = "RTSPContext")]
726 public struct Context {
727 public weak Gst.RTSPServer.Server server;
728 public weak Gst.RTSP.Connection conn;
729 public weak Gst.RTSPServer.Client client;
730 public weak Gst.RTSP.Message request;
731 public weak Gst.RTSP.Url uri;
732 public Gst.RTSP.Method method;
733 public weak Gst.RTSPServer.Auth auth;
734 public weak Gst.RTSPServer.Token token;
735 public weak Gst.RTSPServer.Session session;
736 public weak Gst.RTSPServer.SessionMedia sessmedia;
737 public weak Gst.RTSPServer.MediaFactory factory;
738 public weak Gst.RTSPServer.Media media;
739 public weak Gst.RTSPServer.Stream stream;
740 public weak Gst.RTSP.Message response;
741 public weak Gst.RTSPServer.StreamTransport trans;
742 [CCode (cname = "gst_rtsp_context_pop_current")]
743 public void pop_current ();
744 [CCode (cname = "gst_rtsp_context_push_current")]
745 public void push_current ();
747 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstSDPInfo", has_type_id = false)]
748 [GIR (name = "SDPInfo")]
749 public struct SDPInfo {
751 public weak string server_ip;
753 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPAddressFlags", cprefix = "GST_RTSP_ADDRESS_FLAG_", has_type_id = false)]
755 [GIR (name = "RTSPAddressFlags")]
756 public enum AddressFlags {
764 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPAddressPoolResult", cprefix = "GST_RTSP_ADDRESS_POOL_", has_type_id = false)]
765 [GIR (name = "RTSPAddressPoolResult")]
766 public enum AddressPoolResult {
773 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPFilterResult", cprefix = "GST_RTSP_FILTER_", has_type_id = false)]
774 [GIR (name = "RTSPFilterResult")]
775 public enum FilterResult {
780 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPMediaStatus", cprefix = "GST_RTSP_MEDIA_STATUS_", has_type_id = false)]
781 [GIR (name = "RTSPMediaStatus")]
782 public enum MediaStatus {
790 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPPublishClockMode", cprefix = "GST_RTSP_PUBLISH_CLOCK_MODE_", type_id = "gst_rtsp_publish_clock_mode_get_type ()")]
791 [GIR (name = "RTSPPublishClockMode")]
792 public enum PublishClockMode {
797 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSuspendMode", cprefix = "GST_RTSP_SUSPEND_MODE_", type_id = "gst_rtsp_suspend_mode_get_type ()")]
798 [GIR (name = "RTSPSuspendMode")]
799 public enum SuspendMode {
804 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPThreadType", cprefix = "GST_RTSP_THREAD_TYPE_", has_type_id = false)]
805 [GIR (name = "RTSPThreadType")]
806 public enum ThreadType {
810 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPTransportMode", cprefix = "GST_RTSP_TRANSPORT_MODE_", type_id = "gst_rtsp_transport_mode_get_type ()")]
812 [GIR (name = "RTSPTransportMode")]
813 public enum TransportMode {
817 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPClientSendFunc", instance_pos = 3.9)]
818 public delegate bool ClientSendFunc (Gst.RTSPServer.Client client, Gst.RTSP.Message message, bool close);
819 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPClientSessionFilterFunc", instance_pos = 2.9)]
820 public delegate Gst.RTSPServer.FilterResult ClientSessionFilterFunc (Gst.RTSPServer.Client client, Gst.RTSPServer.Session sess);
821 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPKeepAliveFunc", instance_pos = 0.9)]
822 public delegate void KeepAliveFunc ();
823 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPMessageSentFunc", instance_pos = 0.9)]
824 public delegate void MessageSentFunc ();
825 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSendFunc", instance_pos = 2.9)]
826 public delegate bool SendFunc (Gst.Buffer buffer, uint8 channel);
827 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPServerClientFilterFunc", instance_pos = 2.9)]
828 public delegate Gst.RTSPServer.FilterResult ServerClientFilterFunc (Gst.RTSPServer.Server server, Gst.RTSPServer.Client client);
829 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSessionFilterFunc", instance_pos = 2.9)]
830 public delegate Gst.RTSPServer.FilterResult SessionFilterFunc (Gst.RTSPServer.Session sess, Gst.RTSPServer.SessionMedia media);
831 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSessionPoolFilterFunc", instance_pos = 2.9)]
832 public delegate Gst.RTSPServer.FilterResult SessionPoolFilterFunc (Gst.RTSPServer.SessionPool pool, Gst.RTSPServer.Session session);
833 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSessionPoolFunc", instance_pos = 1.9)]
834 public delegate bool SessionPoolFunc (Gst.RTSPServer.SessionPool pool);
835 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPStreamTransportFilterFunc", instance_pos = 2.9)]
836 public delegate Gst.RTSPServer.FilterResult StreamTransportFilterFunc (Gst.RTSPServer.Stream stream, Gst.RTSPServer.StreamTransport trans);
837 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GST_RTSP_ONVIF_BACKCHANNEL_REQUIREMENT")]
838 public const string _ONVIF_BACKCHANNEL_REQUIREMENT;
839 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "gst_rtsp_context_get_type")]
840 public static GLib.Type context_get_type ();
841 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "gst_rtsp_params_get")]
842 public static Gst.RTSP.Result params_get (Gst.RTSPServer.Client client, Gst.RTSPServer.Context ctx);
843 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "gst_rtsp_params_set")]
844 public static Gst.RTSP.Result params_set (Gst.RTSPServer.Client client, Gst.RTSPServer.Context ctx);
845 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "gst_rtsp_sdp_from_media")]
846 public static bool sdp_from_media (Gst.SDP.Message sdp, Gst.RTSPServer.SDPInfo info, Gst.RTSPServer.Media media);
847 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "gst_rtsp_sdp_from_stream")]
848 public static bool sdp_from_stream (Gst.SDP.Message sdp, Gst.RTSPServer.SDPInfo info, Gst.RTSPServer.Stream stream);
849 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "gst_rtsp_sdp_make_media")]
850 public static bool sdp_make_media (Gst.SDP.Message sdp, Gst.RTSPServer.SDPInfo info, Gst.RTSPServer.Stream stream, Gst.Caps caps, Gst.RTSP.Profile profile);