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 string? get_multicast_iface ();
189 public Gst.RTSPServer.Permissions? get_permissions ();
190 public Gst.RTSP.Profile get_profiles ();
191 public Gst.RTSP.LowerTrans get_protocols ();
192 [Version (since = "1.8")]
193 public Gst.RTSPServer.PublishClockMode get_publish_clock_mode ();
194 public string? get_range_string (bool play, Gst.RTSP.RangeUnit unit);
195 public Gst.ClockTime get_retransmission_time ();
196 public Gst.RTSPServer.MediaStatus get_status ();
197 public unowned Gst.RTSPServer.Stream? get_stream (uint idx);
198 public Gst.RTSPServer.SuspendMode get_suspend_mode ();
199 public Gst.Net.TimeProvider get_time_provider (string? address, uint16 port);
200 public Gst.RTSPServer.TransportMode get_transport_mode ();
202 public virtual bool handle_message (Gst.Message message);
203 public virtual bool handle_sdp (Gst.SDP.Message sdp);
204 public bool is_eos_shutdown ();
205 public bool is_reusable ();
206 public bool is_shared ();
207 public bool is_stop_on_disconnect ();
208 public bool is_time_provider ();
209 public uint n_streams ();
210 public virtual bool prepare (owned Gst.RTSPServer.Thread? thread);
212 public virtual bool query_position (int64 position);
214 public virtual bool query_stop (int64 stop);
215 public bool seek (Gst.RTSP.TimeRange range);
216 public bool seek_full (Gst.RTSP.TimeRange range, Gst.SeekFlags flags);
217 public Gst.ClockTimeDiff seekable ();
218 public void set_address_pool (Gst.RTSPServer.AddressPool? pool);
219 public void set_buffer_size (uint size);
220 public void set_clock (Gst.Clock? clock);
221 [Version (since = "1.16")]
222 public void set_do_retransmission (bool do_retransmission);
223 public void set_eos_shutdown (bool eos_shutdown);
224 public void set_latency (uint latency);
225 public void set_multicast_iface (string? multicast_iface);
226 public void set_permissions (Gst.RTSPServer.Permissions? permissions);
227 public void set_pipeline_state (Gst.State state);
228 public void set_profiles (Gst.RTSP.Profile profiles);
229 public void set_protocols (Gst.RTSP.LowerTrans protocols);
230 [Version (since = "1.8")]
231 public void set_publish_clock_mode (Gst.RTSPServer.PublishClockMode mode);
232 public void set_retransmission_time (Gst.ClockTime time);
233 public void set_reusable (bool reusable);
234 public void set_shared (bool shared);
235 public bool set_state (Gst.State state, GLib.GenericArray<Gst.RTSPServer.StreamTransport> transports);
236 public void set_stop_on_disconnect (bool stop_on_disconnect);
237 public void set_suspend_mode (Gst.RTSPServer.SuspendMode mode);
238 public void set_transport_mode (Gst.RTSPServer.TransportMode mode);
240 public virtual bool setup_rtpbin (Gst.Element rtpbin);
241 public virtual bool setup_sdp (Gst.SDP.Message sdp, Gst.RTSPServer.SDPInfo info);
242 public virtual bool suspend ();
243 public void take_pipeline (owned Gst.Pipeline pipeline);
244 public virtual bool unprepare ();
245 public virtual bool unsuspend ();
246 public void use_time_provider (bool time_provider);
247 public uint buffer_size { get; set; }
248 public Gst.Clock clock { owned get; set; }
249 public Gst.Element element { owned get; construct; }
251 public bool eos_shutdown { get; set; }
252 public uint latency { get; set; }
253 public Gst.RTSP.Profile profiles { get; set; }
254 public Gst.RTSP.LowerTrans protocols { get; set; }
256 public bool reusable { get; set; }
258 public bool shared { get; set; }
260 public bool stop_on_disconnect { get; set; }
261 public Gst.RTSPServer.SuspendMode suspend_mode { get; set; }
263 public bool time_provider { get; set; }
264 public Gst.RTSPServer.TransportMode transport_mode { get; set; }
265 public virtual signal void new_state (int state);
266 public virtual signal void new_stream (Gst.RTSPServer.Stream stream);
267 public virtual signal void prepared ();
268 public virtual signal void removed_stream (Gst.RTSPServer.Stream stream);
269 public virtual signal void target_state (int state);
270 public virtual signal void unprepared ();
272 [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 ()")]
273 [GIR (name = "RTSPMediaFactory")]
274 public class MediaFactory : GLib.Object {
275 [CCode (has_construct_function = false)]
276 public MediaFactory ();
277 public void add_role (string role, string fieldname, ...);
278 [Version (since = "1.14")]
279 public void add_role_from_structure (Gst.Structure structure);
281 public virtual void configure (Gst.RTSPServer.Media media);
282 public virtual Gst.RTSPServer.Media @construct (Gst.RTSP.Url url);
283 [CCode (returns_floating_reference = true)]
284 public virtual Gst.Element create_element (Gst.RTSP.Url url);
285 [CCode (returns_floating_reference = true)]
287 public virtual Gst.Pipeline create_pipeline (Gst.RTSPServer.Media media);
289 public virtual string gen_key (Gst.RTSP.Url url);
290 public Gst.RTSPServer.AddressPool? get_address_pool ();
291 public uint get_buffer_size ();
292 [Version (since = "1.8")]
293 public Gst.Clock get_clock ();
294 [Version (since = "1.16")]
295 public bool get_do_retransmission ();
296 public uint get_latency ();
297 public string? get_launch ();
298 [Version (since = "1.6")]
299 public GLib.Type get_media_gtype ();
300 public string? get_multicast_iface ();
301 public Gst.RTSPServer.Permissions? get_permissions ();
302 public Gst.RTSP.Profile get_profiles ();
303 public Gst.RTSP.LowerTrans get_protocols ();
304 [Version (since = "1.8")]
305 public Gst.RTSPServer.PublishClockMode get_publish_clock_mode ();
306 public Gst.ClockTime get_retransmission_time ();
307 public Gst.RTSPServer.SuspendMode get_suspend_mode ();
308 public Gst.RTSPServer.TransportMode get_transport_mode ();
309 public bool is_eos_shutdown ();
310 public bool is_shared ();
311 public bool is_stop_on_disonnect ();
312 public void set_address_pool (Gst.RTSPServer.AddressPool? pool);
313 public void set_buffer_size (uint size);
314 [Version (since = "1.8")]
315 public void set_clock (Gst.Clock? clock);
316 [Version (since = "1.16")]
317 public void set_do_retransmission (bool do_retransmission);
318 public void set_eos_shutdown (bool eos_shutdown);
319 public void set_latency (uint latency);
320 public void set_launch (string launch);
321 [Version (since = "1.6")]
322 public void set_media_gtype (GLib.Type media_gtype);
323 public void set_multicast_iface (string? multicast_iface);
324 public void set_permissions (Gst.RTSPServer.Permissions? permissions);
325 public void set_profiles (Gst.RTSP.Profile profiles);
326 public void set_protocols (Gst.RTSP.LowerTrans protocols);
327 [Version (since = "1.8")]
328 public void set_publish_clock_mode (Gst.RTSPServer.PublishClockMode mode);
329 public void set_retransmission_time (Gst.ClockTime time);
330 public void set_shared (bool shared);
331 public void set_stop_on_disconnect (bool stop_on_disconnect);
332 public void set_suspend_mode (Gst.RTSPServer.SuspendMode mode);
333 public void set_transport_mode (Gst.RTSPServer.TransportMode mode);
334 public uint buffer_size { get; set; }
335 public Gst.Clock clock { owned get; set; }
337 public bool eos_shutdown { get; set; }
338 public uint latency { get; set; }
339 public string launch { owned get; set; }
340 public Gst.RTSP.Profile profiles { get; set; }
341 public Gst.RTSP.LowerTrans protocols { get; set; }
343 public bool shared { get; set; }
345 public bool stop_on_disconnect { get; set; }
346 public Gst.RTSPServer.SuspendMode suspend_mode { get; set; }
347 public Gst.RTSPServer.TransportMode transport_mode { get; set; }
348 public virtual signal void media_configure (Gst.RTSPServer.Media media);
349 public virtual signal void media_constructed (Gst.RTSPServer.Media media);
351 [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 ()")]
352 [GIR (name = "RTSPMediaFactoryURI")]
353 public class MediaFactoryURI : Gst.RTSPServer.MediaFactory {
354 [CCode (has_construct_function = false)]
355 public MediaFactoryURI ();
356 public string get_uri ();
357 public void set_uri (string uri);
358 public string uri { owned get; set; }
360 public bool use_gstpay { get; set; }
362 [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 ()")]
363 [GIR (name = "RTSPMountPoints")]
364 public class MountPoints : GLib.Object {
365 [CCode (has_construct_function = false)]
366 public MountPoints ();
367 public void add_factory (string path, owned Gst.RTSPServer.MediaFactory factory);
368 public virtual string? make_path (Gst.RTSP.Url url);
369 public Gst.RTSPServer.MediaFactory match (string path, out int matched);
370 public void remove_factory (string path);
372 [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 ()")]
373 [GIR (name = "RTSPOnvifClient")]
374 public class OnvifClient : Gst.RTSPServer.Client {
375 [CCode (has_construct_function = false)]
376 protected OnvifClient ();
378 [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 ()")]
379 [GIR (name = "RTSPOnvifMedia")]
380 public class OnvifMedia : Gst.RTSPServer.Media {
381 [CCode (has_construct_function = false)]
382 protected OnvifMedia ();
383 [Version (since = "1.14")]
384 public bool collect_backchannel ();
385 [Version (since = "1.14")]
386 public uint get_backchannel_bandwidth ();
387 [Version (since = "1.14")]
388 public void set_backchannel_bandwidth (uint bandwidth);
390 [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 ()")]
391 [GIR (name = "RTSPOnvifMediaFactory")]
392 public class OnvifMediaFactory : Gst.RTSPServer.MediaFactory {
393 [CCode (has_construct_function = false, type = "GstRTSPMediaFactory*")]
394 [Version (since = "1.14")]
395 public OnvifMediaFactory ();
396 [Version (since = "1.14")]
397 public uint get_backchannel_bandwidth ();
398 [Version (since = "1.14")]
399 public string get_backchannel_launch ();
400 [Version (since = "1.14")]
401 public virtual bool has_backchannel_support ();
402 [Version (since = "1.14")]
403 public static bool requires_backchannel (Gst.RTSPServer.MediaFactory factory, Gst.RTSPServer.Context ctx);
404 [Version (since = "1.14")]
405 public void set_backchannel_bandwidth (uint bandwidth);
406 [Version (since = "1.14")]
407 public void set_backchannel_launch (string launch);
409 [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 ()")]
410 [GIR (name = "RTSPOnvifServer")]
411 public class OnvifServer : Gst.RTSPServer.Server {
412 [CCode (has_construct_function = false, type = "GstRTSPServer*")]
413 public OnvifServer ();
415 [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 ()")]
417 [GIR (name = "RTSPPermissions")]
418 public class Permissions : Gst.MiniObject {
419 [CCode (cname = "GST_RTSP_PERM_MEDIA_FACTORY_ACCESS")]
420 public const string MEDIA_FACTORY_ACCESS;
421 [CCode (cname = "GST_RTSP_PERM_MEDIA_FACTORY_CONSTRUCT")]
422 public const string MEDIA_FACTORY_CONSTRUCT;
423 [CCode (has_construct_function = false)]
424 public Permissions ();
425 [Version (since = "1.14")]
426 public void add_permission_for_role (string role, string permission, bool allowed);
427 public void add_role (string role, string fieldname, ...);
428 [Version (since = "1.14")]
429 public void add_role_empty (string role);
430 [Version (since = "1.14")]
431 public void add_role_from_structure (Gst.Structure structure);
432 public void add_role_valist (string role, string fieldname, va_list var_args);
433 public unowned Gst.Structure get_role (string role);
434 public bool is_allowed (string role, string permission);
435 public void remove_role (string role);
437 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPServer", lower_case_cprefix = "gst_rtsp_server_", type_id = "gst_rtsp_server_get_type ()")]
438 [GIR (name = "RTSPServer")]
439 public class Server : GLib.Object {
440 [CCode (has_construct_function = false)]
442 public uint attach (GLib.MainContext? context);
443 public GLib.List<Gst.RTSPServer.Client> client_filter (Gst.RTSPServer.ServerClientFilterFunc? func);
445 public virtual Gst.RTSPServer.Client create_client ();
446 public GLib.Socket create_socket (GLib.Cancellable? cancellable = null) throws GLib.Error;
447 public GLib.Source create_source (GLib.Cancellable? cancellable = null) throws GLib.Error;
448 public string? get_address ();
449 public Gst.RTSPServer.Auth? get_auth ();
450 public int get_backlog ();
451 public int get_bound_port ();
452 public Gst.RTSPServer.MountPoints? get_mount_points ();
453 public string? get_service ();
454 public Gst.RTSPServer.SessionPool? get_session_pool ();
455 public Gst.RTSPServer.ThreadPool? get_thread_pool ();
456 public static bool io_func (GLib.Socket socket, GLib.IOCondition condition, Gst.RTSPServer.Server server);
457 public void set_address (string address);
458 public void set_auth (Gst.RTSPServer.Auth? auth);
459 public void set_backlog (int backlog);
460 public void set_mount_points (Gst.RTSPServer.MountPoints? mounts);
461 public void set_service (string service);
462 public void set_session_pool (Gst.RTSPServer.SessionPool? pool);
463 public void set_thread_pool (Gst.RTSPServer.ThreadPool? pool);
464 public bool transfer_connection (owned GLib.Socket socket, string ip, int port, string? initial_buffer);
465 public string address { owned get; set; }
466 public int backlog { get; set; }
467 public int bound_port { get; }
468 public Gst.RTSPServer.MountPoints mount_points { owned get; set; }
469 public string service { owned get; set; }
470 public Gst.RTSPServer.SessionPool session_pool { owned get; set; }
471 public virtual signal void client_connected (Gst.RTSPServer.Client client);
473 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSession", lower_case_cprefix = "gst_rtsp_session_", type_id = "gst_rtsp_session_get_type ()")]
474 [GIR (name = "RTSPSession")]
475 public class Session : GLib.Object {
476 [CCode (has_construct_function = false)]
477 public Session (string sessionid);
478 public void allow_expire ();
479 public GLib.List<Gst.RTSPServer.SessionMedia> filter (Gst.RTSPServer.SessionFilterFunc? func);
480 public string? get_header ();
481 public unowned Gst.RTSPServer.SessionMedia? get_media (string path, out int matched);
482 public unowned string? get_sessionid ();
483 public uint get_timeout ();
484 [Version (deprecated = true)]
485 public bool is_expired (GLib.TimeVal now);
486 public bool is_expired_usec (int64 now);
487 public unowned Gst.RTSPServer.SessionMedia manage_media (string path, owned Gst.RTSPServer.Media media);
488 [Version (deprecated = true)]
489 public int next_timeout (GLib.TimeVal now);
490 public int next_timeout_usec (int64 now);
491 public void prevent_expire ();
492 public bool release_media (Gst.RTSPServer.SessionMedia media);
493 public void set_timeout (uint timeout);
494 public void touch ();
495 public string sessionid { get; construct; }
496 public uint timeout { get; set; }
498 public bool timeout_always_visible { get; set; }
500 [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 ()")]
501 [GIR (name = "RTSPSessionMedia")]
502 public class SessionMedia : GLib.Object {
503 [CCode (has_construct_function = false)]
504 public SessionMedia (string path, owned Gst.RTSPServer.Media media);
505 public bool alloc_channels (out Gst.RTSP.Range range);
506 public Gst.ClockTime get_base_time ();
507 public unowned Gst.RTSPServer.Media? get_media ();
508 public string? get_rtpinfo ();
509 public Gst.RTSP.State get_rtsp_state ();
510 public unowned Gst.RTSPServer.StreamTransport? get_transport (uint idx);
511 public GLib.GenericArray<Gst.RTSPServer.StreamTransport> get_transports ();
512 public bool matches (string path, out int matched);
513 public void set_rtsp_state (Gst.RTSP.State state);
514 public bool set_state (Gst.State state);
515 public unowned Gst.RTSPServer.StreamTransport set_transport (Gst.RTSPServer.Stream stream, owned Gst.RTSP.Transport tr);
517 [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 ()")]
518 [GIR (name = "RTSPSessionPool")]
519 public class SessionPool : GLib.Object {
520 [CCode (has_construct_function = false)]
521 public SessionPool ();
522 public uint cleanup ();
523 public Gst.RTSPServer.Session? create ();
525 public virtual Gst.RTSPServer.Session create_session (string id);
527 public virtual string create_session_id ();
528 public GLib.Source create_watch ();
529 public GLib.List<Gst.RTSPServer.Session> filter (Gst.RTSPServer.SessionPoolFilterFunc? func);
530 public Gst.RTSPServer.Session? find (string sessionid);
531 public uint get_max_sessions ();
532 public uint get_n_sessions ();
533 public bool remove (Gst.RTSPServer.Session sess);
534 public void set_max_sessions (uint max);
535 public uint max_sessions { get; set; }
536 public virtual signal void session_removed (Gst.RTSPServer.Session session);
538 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPStream", lower_case_cprefix = "gst_rtsp_stream_", type_id = "gst_rtsp_stream_get_type ()")]
539 [GIR (name = "RTSPStream")]
540 public class Stream : GLib.Object {
541 [CCode (has_construct_function = false)]
542 public Stream (uint idx, Gst.Element payloader, Gst.Pad pad);
543 public bool add_transport (Gst.RTSPServer.StreamTransport trans);
544 public bool allocate_udp_sockets (GLib.SocketFamily family, Gst.RTSP.Transport transport, bool use_client_settings);
545 public bool complete_stream (Gst.RTSP.Transport transport);
546 public Gst.RTSPServer.AddressPool? get_address_pool ();
547 [Version (since = "1.6")]
548 public uint get_buffer_size ();
549 public Gst.Caps? get_caps ();
550 public string? get_control ();
551 public uint16 get_current_seqnum ();
552 public int get_dscp_qos ();
553 public uint get_index ();
554 public Gst.Bin? get_joined_bin ();
555 public uint get_mtu ();
556 public Gst.RTSPServer.Address? get_multicast_address (GLib.SocketFamily family);
557 public string? get_multicast_iface ();
558 public Gst.RTSP.Profile get_profiles ();
559 public Gst.RTSP.LowerTrans get_protocols ();
560 public uint get_pt ();
561 [Version (since = "1.8")]
562 public Gst.RTSPServer.PublishClockMode get_publish_clock_mode ();
563 public uint get_retransmission_pt ();
564 public Gst.ClockTime get_retransmission_time ();
565 public GLib.Socket? get_rtcp_multicast_socket (GLib.SocketFamily family);
566 public GLib.Socket? get_rtcp_socket (GLib.SocketFamily family);
567 public GLib.Socket? get_rtp_multicast_socket (GLib.SocketFamily family);
568 public GLib.Socket? get_rtp_socket (GLib.SocketFamily family);
569 public bool get_rtpinfo (out uint rtptime, out uint seq, out uint clock_rate, out Gst.ClockTime running_time);
570 public GLib.Object get_rtpsession ();
571 public void get_server_port (out Gst.RTSP.Range server_port, GLib.SocketFamily family);
572 public Gst.Pad? get_sinkpad ();
573 public Gst.Pad? get_srcpad ();
574 public Gst.Element get_srtp_encoder ();
575 public void get_ssrc (out uint ssrc);
576 public bool get_ulpfec_enabled ();
577 [Version (since = "1.16")]
578 public uint get_ulpfec_percentage ();
579 [Version (since = "1.16")]
580 public uint get_ulpfec_pt ();
581 [Version (since = "1.16")]
582 public bool handle_keymgmt (string keymgmt);
583 public bool has_control (string? control);
584 public bool is_blocking ();
585 public bool is_client_side ();
586 public bool is_complete ();
587 public bool is_receiver ();
588 public bool is_sender ();
589 public bool is_transport_supported (Gst.RTSP.Transport transport);
590 public bool join_bin (Gst.Bin bin, Gst.Element rtpbin, Gst.State state);
591 public bool leave_bin (Gst.Bin bin, Gst.Element rtpbin);
592 public bool query_position (out int64 position);
593 public bool query_stop (out int64 stop);
594 public Gst.FlowReturn recv_rtcp (owned Gst.Buffer buffer);
595 public Gst.FlowReturn recv_rtp (owned Gst.Buffer buffer);
596 public bool remove_transport (Gst.RTSPServer.StreamTransport trans);
597 [Version (since = "1.16")]
598 public Gst.Element? request_aux_receiver (uint sessid);
599 [Version (since = "1.6")]
600 public Gst.Element? request_aux_sender (uint sessid);
601 [Version (since = "1.16")]
602 public Gst.Element? request_ulpfec_decoder (Gst.Element rtpbin, uint sessid);
603 [Version (since = "1.16")]
604 public Gst.Element? request_ulpfec_encoder (uint sessid);
605 public Gst.RTSPServer.Address? reserve_address (string address, uint port, uint n_ports, uint ttl);
606 public bool seekable ();
607 public void set_address_pool (Gst.RTSPServer.AddressPool? pool);
608 public bool set_blocked (bool blocked);
609 [Version (since = "1.6")]
610 public void set_buffer_size (uint size);
611 public void set_client_side (bool client_side);
612 public void set_control (string? control);
613 public void set_dscp_qos (int dscp_qos);
614 public void set_mtu (uint mtu);
615 public void set_multicast_iface (string? multicast_iface);
616 public void set_profiles (Gst.RTSP.Profile profiles);
617 public void set_protocols (Gst.RTSP.LowerTrans protocols);
618 public void set_pt_map (uint pt, Gst.Caps caps);
619 [Version (since = "1.8")]
620 public void set_publish_clock_mode (Gst.RTSPServer.PublishClockMode mode);
621 public void set_retransmission_pt (uint rtx_pt);
622 public void set_retransmission_time (Gst.ClockTime time);
623 public void set_seqnum_offset (uint16 seqnum);
624 [Version (since = "1.16")]
625 public void set_ulpfec_percentage (uint percentage);
626 [Version (since = "1.16")]
627 public void set_ulpfec_pt (uint pt);
628 public GLib.List<Gst.RTSPServer.StreamTransport> transport_filter (Gst.RTSPServer.StreamTransportFilterFunc? func);
629 public bool unblock_linked ();
630 public bool update_crypto (uint ssrc, Gst.Caps? crypto);
631 public string control { owned get; set; }
632 public Gst.RTSP.Profile profiles { get; set; }
633 public Gst.RTSP.LowerTrans protocols { get; set; }
634 public signal void new_rtcp_encoder (Gst.Element object);
635 public signal void new_rtp_encoder (Gst.Element object);
636 public signal void new_rtp_rtcp_decoder (Gst.Element object);
638 [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 ()")]
639 [GIR (name = "RTSPStreamTransport")]
640 public class StreamTransport : GLib.Object {
641 [CCode (has_construct_function = false)]
642 public StreamTransport (Gst.RTSPServer.Stream stream, owned Gst.RTSP.Transport tr);
643 public string? get_rtpinfo (Gst.ClockTime start_time);
644 public unowned Gst.RTSPServer.Stream? get_stream ();
645 public unowned Gst.RTSP.Transport? get_transport ();
646 public unowned Gst.RTSP.Url? get_url ();
647 public bool is_timed_out ();
648 public void keep_alive ();
649 public void message_sent ();
650 public Gst.FlowReturn recv_data (uint channel, owned Gst.Buffer buffer);
651 public bool send_rtcp (Gst.Buffer buffer);
652 public bool send_rtp (Gst.Buffer buffer);
653 public bool set_active (bool active);
654 public void set_callbacks (Gst.RTSPServer.SendFunc send_rtp, owned Gst.RTSPServer.SendFunc send_rtcp);
655 public void set_keepalive (owned Gst.RTSPServer.KeepAliveFunc keep_alive);
656 public void set_message_sent (owned Gst.RTSPServer.MessageSentFunc message_sent);
657 public void set_timed_out (bool timedout);
658 public void set_transport (owned Gst.RTSP.Transport tr);
659 public void set_url (Gst.RTSP.Url? url);
661 [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 ()")]
663 [GIR (name = "RTSPThread")]
664 public class Thread : Gst.MiniObject {
665 public GLib.MainContext context;
666 public GLib.MainLoop loop;
667 public Gst.RTSPServer.ThreadType type;
668 [CCode (has_construct_function = false)]
669 public Thread (Gst.RTSPServer.ThreadType type);
670 public bool reuse ();
673 [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 ()")]
674 [GIR (name = "RTSPThreadPool")]
675 public class ThreadPool : GLib.Object {
676 [CCode (has_construct_function = false)]
677 public ThreadPool ();
678 public static void cleanup ();
680 public virtual void configure_thread (Gst.RTSPServer.Thread thread, Gst.RTSPServer.Context ctx);
681 public int get_max_threads ();
682 public virtual Gst.RTSPServer.Thread? get_thread (Gst.RTSPServer.ThreadType type, Gst.RTSPServer.Context ctx);
683 public void set_max_threads (int max_threads);
685 public virtual void thread_enter (Gst.RTSPServer.Thread thread);
687 public virtual void thread_leave (Gst.RTSPServer.Thread thread);
688 public int max_threads { get; set; }
690 [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 ()")]
692 [GIR (name = "RTSPToken")]
693 public class Token : Gst.MiniObject {
694 [CCode (cname = "GST_RTSP_TOKEN_MEDIA_FACTORY_ROLE")]
695 public const string MEDIA_FACTORY_ROLE;
696 [CCode (cname = "GST_RTSP_TOKEN_TRANSPORT_CLIENT_SETTINGS")]
697 public const string TRANSPORT_CLIENT_SETTINGS;
698 [CCode (has_construct_function = false)]
699 public Token (string firstfield, ...);
700 [CCode (has_construct_function = false)]
701 public Token.empty ();
702 public unowned string? get_string (string field);
703 public unowned Gst.Structure get_structure ();
704 public bool is_allowed (string field);
705 [Version (since = "1.14")]
706 public void set_bool (string field, bool bool_value);
707 [Version (since = "1.14")]
708 public void set_string (string field, string string_value);
709 [CCode (has_construct_function = false)]
710 public Token.valist (string firstfield, va_list var_args);
711 public unowned Gst.Structure writable_structure ();
713 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPContext", has_type_id = false)]
714 [GIR (name = "RTSPContext")]
715 public struct Context {
716 public weak Gst.RTSPServer.Server server;
717 public weak Gst.RTSP.Connection conn;
718 public weak Gst.RTSPServer.Client client;
719 public weak Gst.RTSP.Message request;
720 public weak Gst.RTSP.Url uri;
721 public Gst.RTSP.Method method;
722 public weak Gst.RTSPServer.Auth auth;
723 public weak Gst.RTSPServer.Token token;
724 public weak Gst.RTSPServer.Session session;
725 public weak Gst.RTSPServer.SessionMedia sessmedia;
726 public weak Gst.RTSPServer.MediaFactory factory;
727 public weak Gst.RTSPServer.Media media;
728 public weak Gst.RTSPServer.Stream stream;
729 public weak Gst.RTSP.Message response;
730 public weak Gst.RTSPServer.StreamTransport trans;
731 [CCode (cname = "gst_rtsp_context_pop_current")]
732 public void pop_current ();
733 [CCode (cname = "gst_rtsp_context_push_current")]
734 public void push_current ();
736 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstSDPInfo", has_type_id = false)]
737 [GIR (name = "SDPInfo")]
738 public struct SDPInfo {
740 public weak string server_ip;
742 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPAddressFlags", cprefix = "GST_RTSP_ADDRESS_FLAG_", has_type_id = false)]
744 [GIR (name = "RTSPAddressFlags")]
745 public enum AddressFlags {
753 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPAddressPoolResult", cprefix = "GST_RTSP_ADDRESS_POOL_", has_type_id = false)]
754 [GIR (name = "RTSPAddressPoolResult")]
755 public enum AddressPoolResult {
762 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPFilterResult", cprefix = "GST_RTSP_FILTER_", has_type_id = false)]
763 [GIR (name = "RTSPFilterResult")]
764 public enum FilterResult {
769 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPMediaStatus", cprefix = "GST_RTSP_MEDIA_STATUS_", has_type_id = false)]
770 [GIR (name = "RTSPMediaStatus")]
771 public enum MediaStatus {
779 [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 ()")]
780 [GIR (name = "RTSPPublishClockMode")]
781 public enum PublishClockMode {
786 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSuspendMode", cprefix = "GST_RTSP_SUSPEND_MODE_", type_id = "gst_rtsp_suspend_mode_get_type ()")]
787 [GIR (name = "RTSPSuspendMode")]
788 public enum SuspendMode {
793 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPThreadType", cprefix = "GST_RTSP_THREAD_TYPE_", has_type_id = false)]
794 [GIR (name = "RTSPThreadType")]
795 public enum ThreadType {
799 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPTransportMode", cprefix = "GST_RTSP_TRANSPORT_MODE_", type_id = "gst_rtsp_transport_mode_get_type ()")]
801 [GIR (name = "RTSPTransportMode")]
802 public enum TransportMode {
806 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPClientSendFunc", instance_pos = 3.9)]
807 public delegate bool ClientSendFunc (Gst.RTSPServer.Client client, Gst.RTSP.Message message, bool close);
808 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPClientSessionFilterFunc", instance_pos = 2.9)]
809 public delegate Gst.RTSPServer.FilterResult ClientSessionFilterFunc (Gst.RTSPServer.Client client, Gst.RTSPServer.Session sess);
810 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPKeepAliveFunc", instance_pos = 0.9)]
811 public delegate void KeepAliveFunc ();
812 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPMessageSentFunc", instance_pos = 0.9)]
813 public delegate void MessageSentFunc ();
814 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSendFunc", instance_pos = 2.9)]
815 public delegate bool SendFunc (Gst.Buffer buffer, uint8 channel);
816 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPServerClientFilterFunc", instance_pos = 2.9)]
817 public delegate Gst.RTSPServer.FilterResult ServerClientFilterFunc (Gst.RTSPServer.Server server, Gst.RTSPServer.Client client);
818 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSessionFilterFunc", instance_pos = 2.9)]
819 public delegate Gst.RTSPServer.FilterResult SessionFilterFunc (Gst.RTSPServer.Session sess, Gst.RTSPServer.SessionMedia media);
820 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSessionPoolFilterFunc", instance_pos = 2.9)]
821 public delegate Gst.RTSPServer.FilterResult SessionPoolFilterFunc (Gst.RTSPServer.SessionPool pool, Gst.RTSPServer.Session session);
822 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSessionPoolFunc", instance_pos = 1.9)]
823 public delegate bool SessionPoolFunc (Gst.RTSPServer.SessionPool pool);
824 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPStreamTransportFilterFunc", instance_pos = 2.9)]
825 public delegate Gst.RTSPServer.FilterResult StreamTransportFilterFunc (Gst.RTSPServer.Stream stream, Gst.RTSPServer.StreamTransport trans);
826 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GST_RTSP_ONVIF_BACKCHANNEL_REQUIREMENT")]
827 public const string _ONVIF_BACKCHANNEL_REQUIREMENT;
828 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "gst_rtsp_context_get_type")]
829 public static GLib.Type context_get_type ();
830 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "gst_rtsp_params_get")]
831 public static Gst.RTSP.Result params_get (Gst.RTSPServer.Client client, Gst.RTSPServer.Context ctx);
832 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "gst_rtsp_params_set")]
833 public static Gst.RTSP.Result params_set (Gst.RTSPServer.Client client, Gst.RTSPServer.Context ctx);
834 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "gst_rtsp_sdp_from_media")]
835 public static bool sdp_from_media (Gst.SDP.Message sdp, Gst.RTSPServer.SDPInfo info, Gst.RTSPServer.Media media);
836 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "gst_rtsp_sdp_from_stream")]
837 public static bool sdp_from_stream (Gst.SDP.Message sdp, Gst.RTSPServer.SDPInfo info, Gst.RTSPServer.Stream stream);
838 [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "gst_rtsp_sdp_make_media")]
839 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);