2018-02-09 02:30:08 +00:00
|
|
|
[options]
|
2021-04-12 09:42:41 +00:00
|
|
|
girs_directories = ["../gir-files", "../gst-gir-files"]
|
2018-02-09 02:30:08 +00:00
|
|
|
library = "GstRtspServer"
|
|
|
|
version = "1.0"
|
2022-04-07 08:22:39 +00:00
|
|
|
min_cfg_version = "1.14"
|
2018-02-09 02:30:08 +00:00
|
|
|
work_mode = "normal"
|
|
|
|
concurrency = "send+sync"
|
|
|
|
generate_safety_asserts = true
|
2018-04-23 17:34:22 +00:00
|
|
|
single_version_file = true
|
2018-12-08 09:05:20 +00:00
|
|
|
generate_display_trait = false
|
2022-10-18 11:17:00 +00:00
|
|
|
trust_return_value_nullability = true
|
2018-02-09 02:30:08 +00:00
|
|
|
|
|
|
|
external_libraries = [
|
2021-12-03 16:14:55 +00:00
|
|
|
"Gio",
|
2018-02-09 02:30:08 +00:00
|
|
|
"GLib",
|
|
|
|
"GObject",
|
|
|
|
"Gst",
|
|
|
|
"GstNet",
|
|
|
|
"GstRtsp",
|
|
|
|
"GstSDP"
|
|
|
|
]
|
|
|
|
|
|
|
|
generate = [
|
|
|
|
"GstRtspServer.RTSPAddressPoolResult",
|
2021-12-03 16:14:55 +00:00
|
|
|
"GstRtspServer.RTSPFilterResult",
|
2018-02-09 02:30:08 +00:00
|
|
|
"GstRtspServer.RTSPMediaFactoryURI",
|
|
|
|
"GstRtspServer.RTSPMediaStatus",
|
2022-02-18 11:21:10 +00:00
|
|
|
"GstRtspServer.RTSPOnvifClient",
|
|
|
|
"GstRtspServer.RTSPOnvifMedia",
|
|
|
|
"GstRtspServer.RTSPOnvifServer",
|
2018-02-09 02:30:08 +00:00
|
|
|
"GstRtspServer.RTSPPublishClockMode",
|
|
|
|
"GstRtspServer.RTSPSuspendMode",
|
|
|
|
"GstRtspServer.RTSPThreadPool",
|
|
|
|
"GstRtspServer.RTSPThreadType",
|
2019-02-22 09:54:27 +00:00
|
|
|
"GstRtspServer.RTSPTransportMode",
|
2018-02-09 02:30:08 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
manual = [
|
2021-12-03 16:14:55 +00:00
|
|
|
"Gio.Cancellable",
|
|
|
|
"Gio.Socket",
|
|
|
|
"Gio.SocketFamily",
|
|
|
|
"Gio.TlsAuthenticationMode",
|
|
|
|
"Gio.TlsCertificate",
|
|
|
|
"Gio.TlsCertificateFlags",
|
|
|
|
"Gio.TlsConnection",
|
|
|
|
"Gio.TlsDatabase",
|
2021-05-30 15:37:25 +00:00
|
|
|
"GLib.Error",
|
2018-02-09 02:30:08 +00:00
|
|
|
"GLib.IOCondition",
|
2021-05-30 15:37:25 +00:00
|
|
|
"GLib.MainContext",
|
2018-02-09 02:30:08 +00:00
|
|
|
"GLib.MainLoop",
|
2021-05-30 15:37:25 +00:00
|
|
|
"GLib.Source",
|
2018-02-09 02:30:08 +00:00
|
|
|
"GLib.ThreadPool",
|
|
|
|
"GObject.Object",
|
2021-12-03 16:14:55 +00:00
|
|
|
"Gst.Bin",
|
2018-02-09 02:30:08 +00:00
|
|
|
"Gst.Clock",
|
2021-12-03 16:14:55 +00:00
|
|
|
"Gst.Element",
|
2018-02-09 02:30:08 +00:00
|
|
|
"Gst.Pad",
|
2021-12-03 16:14:55 +00:00
|
|
|
"Gst.Pipeline",
|
|
|
|
"Gst.State",
|
2021-05-30 15:37:25 +00:00
|
|
|
"GstNet.NetTimeProvider",
|
2018-02-09 02:30:08 +00:00
|
|
|
"GstRtsp.RTSPAuthMethod",
|
2021-05-30 15:42:58 +00:00
|
|
|
"GstRtsp.RTSPLowerTrans",
|
|
|
|
"GstRtsp.RTSPProfile",
|
|
|
|
"GstRtsp.RTSPRangeUnit",
|
2018-02-09 02:30:08 +00:00
|
|
|
"GstRtsp.RTSPResult",
|
|
|
|
"GstRtsp.RTSPStatusCode",
|
2021-05-30 15:42:58 +00:00
|
|
|
"GstRtsp.RTSPUrl",
|
2018-02-09 02:30:08 +00:00
|
|
|
]
|
|
|
|
|
2021-04-07 17:06:36 +00:00
|
|
|
[[object]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "Gst.Buffer"
|
2018-02-09 02:30:08 +00:00
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
|
|
|
[[object]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "Gst.Caps"
|
2018-02-09 02:30:08 +00:00
|
|
|
status = "manual"
|
2021-05-28 12:58:49 +00:00
|
|
|
ref_mode = "ref"
|
2018-02-09 02:30:08 +00:00
|
|
|
|
|
|
|
[[object]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "Gst.ClockTime"
|
2018-02-09 02:30:08 +00:00
|
|
|
status = "manual"
|
2021-12-03 16:14:55 +00:00
|
|
|
conversion_type = "Option"
|
2018-02-09 02:30:08 +00:00
|
|
|
|
|
|
|
[[object]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "Gst.FlowReturn"
|
2018-02-09 02:30:08 +00:00
|
|
|
status = "manual"
|
2021-12-03 16:14:55 +00:00
|
|
|
must_use = true
|
|
|
|
[object.conversion_type]
|
|
|
|
variant = "Result"
|
|
|
|
ok_type = "gst::FlowSuccess"
|
|
|
|
err_type = "gst::FlowError"
|
2018-02-09 02:30:08 +00:00
|
|
|
|
2018-02-15 15:03:31 +00:00
|
|
|
[[object]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "Gst.Message"
|
2018-02-15 15:03:31 +00:00
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
2018-03-01 23:46:12 +00:00
|
|
|
[[object]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "Gst.Object"
|
|
|
|
# For renaming the trait...
|
2018-03-01 23:46:12 +00:00
|
|
|
status = "manual"
|
2021-12-03 16:14:55 +00:00
|
|
|
trait_name = "GstObjectExt"
|
2018-03-01 23:46:12 +00:00
|
|
|
|
2020-02-23 07:58:54 +00:00
|
|
|
[[object]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "Gst.Structure"
|
2020-02-23 07:58:54 +00:00
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
2018-02-09 02:30:08 +00:00
|
|
|
[[object]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "GstRtspServer.RTSPAddress"
|
2018-02-09 02:30:08 +00:00
|
|
|
status = "generate"
|
2021-12-03 16:14:55 +00:00
|
|
|
concurrency = "send"
|
2019-02-04 14:56:17 +00:00
|
|
|
|
2018-02-09 02:30:08 +00:00
|
|
|
[[object]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "GstRtspServer.RTSPAddressFlags"
|
2018-02-09 02:30:08 +00:00
|
|
|
status = "generate"
|
2021-12-03 16:14:55 +00:00
|
|
|
[[object.member]]
|
|
|
|
name = "none"
|
2021-05-30 15:42:58 +00:00
|
|
|
ignore = true
|
|
|
|
|
2018-02-09 02:30:08 +00:00
|
|
|
[[object]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "GstRtspServer.RTSPAddressPool"
|
2018-02-09 02:30:08 +00:00
|
|
|
status = "generate"
|
2021-12-03 16:14:55 +00:00
|
|
|
manual_traits = ["RTSPAddressPoolExtManual"]
|
2019-01-08 16:13:37 +00:00
|
|
|
|
2018-02-09 02:30:08 +00:00
|
|
|
[[object.function]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "add_range"
|
2018-02-09 02:30:08 +00:00
|
|
|
[object.function.return]
|
2021-12-03 16:14:55 +00:00
|
|
|
bool_return_is_error = "Failed to add address range"
|
2018-02-09 02:30:08 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "acquire_address"
|
2018-02-09 02:30:08 +00:00
|
|
|
[object.function.return]
|
2021-12-03 16:14:55 +00:00
|
|
|
nullable_return_is_error = "Failed to acquire address"
|
2018-02-09 02:30:08 +00:00
|
|
|
|
2019-02-04 14:56:17 +00:00
|
|
|
[[object.function]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "reserve_address"
|
|
|
|
manual = true
|
2019-02-04 14:56:17 +00:00
|
|
|
|
2021-12-03 16:14:55 +00:00
|
|
|
[[object]]
|
|
|
|
name="GstRtspServer.RTSPAuth"
|
|
|
|
status="generate"
|
|
|
|
manual_traits = ["RTSPAuthExtManual"]
|
2019-02-04 14:56:17 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "check"
|
2019-02-04 14:56:17 +00:00
|
|
|
[object.function.return]
|
2021-12-03 16:14:55 +00:00
|
|
|
bool_return_is_error = "Check failed"
|
2019-01-08 16:13:37 +00:00
|
|
|
|
2018-02-09 02:30:08 +00:00
|
|
|
[[object.function]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "connect_accept_certificate"
|
|
|
|
# Use Result<(), LoggableError>
|
|
|
|
manual = true
|
2018-02-09 02:30:08 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "set_default_token"
|
|
|
|
# gir forgets mut
|
|
|
|
manual = true
|
2018-02-09 02:30:08 +00:00
|
|
|
|
|
|
|
[[object]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "GstRtspServer.RTSPClient"
|
2018-02-09 02:30:08 +00:00
|
|
|
status = "generate"
|
2021-12-03 16:14:55 +00:00
|
|
|
manual_traits = ["RTSPClientExtManual"]
|
2018-02-09 02:30:08 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "attach"
|
|
|
|
manual = true
|
2018-02-09 02:30:08 +00:00
|
|
|
|
2019-12-17 19:00:42 +00:00
|
|
|
[[object.function]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "set_send_func"
|
|
|
|
# user_data takes raw pointer
|
|
|
|
ignore = true
|
2019-12-17 19:00:42 +00:00
|
|
|
|
2021-12-03 16:14:55 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstRtspServer.RTSPContext"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
2018-02-09 02:30:08 +00:00
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstRtspServer.RTSPMedia"
|
|
|
|
status = "generate"
|
2020-02-25 13:06:44 +00:00
|
|
|
manual_traits = ["RTSPMediaExtManual"]
|
2018-02-09 02:30:08 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "suspend"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to suspend media"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "unprepare"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to unprepare media"
|
|
|
|
|
2020-02-23 07:58:54 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "prepare"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to prepare media"
|
|
|
|
|
2018-02-09 02:30:08 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "unsuspend"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to unsuspend media"
|
|
|
|
|
2020-02-23 08:00:05 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "take_pipeline"
|
2020-11-04 18:00:23 +00:00
|
|
|
manual = true
|
2020-02-23 08:00:05 +00:00
|
|
|
|
2018-03-15 08:21:53 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstRtspServer.RTSPMediaFactory"
|
|
|
|
status = "generate"
|
2020-02-25 13:06:44 +00:00
|
|
|
manual_traits = ["RTSPMediaFactoryExtManual"]
|
2018-03-15 08:21:53 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "add_role_from_structure"
|
|
|
|
# Different structure mutability needed
|
2020-11-04 18:00:23 +00:00
|
|
|
manual = true
|
2018-03-15 08:21:53 +00:00
|
|
|
|
2019-12-17 19:00:42 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "construct"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Failed to construct media"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "create_element"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Failed to create media element"
|
|
|
|
|
2021-12-03 16:14:55 +00:00
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name="GstRtspServer.RTSPMountPoints"
|
|
|
|
status="generate"
|
|
|
|
[[object.function]]
|
|
|
|
name = "make_path"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Failed to make path"
|
|
|
|
|
2022-02-18 11:21:10 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstRtspServer.RTSPOnvifMediaFactory"
|
|
|
|
status = "generate"
|
|
|
|
manual_traits = ["RTSPMediaExtManual"]
|
|
|
|
[[object.function]]
|
|
|
|
name = "requires_backchannel"
|
|
|
|
# on extension trait
|
|
|
|
manual = true
|
2021-12-03 16:14:55 +00:00
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstRtspServer.RTSPServer"
|
|
|
|
status = "generate"
|
|
|
|
manual_traits = ["RTSPServerExtManual"]
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "attach"
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "io_func"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to connect the source"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "transfer_connection"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to transfer to the connection"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name="GstRtspServer.RTSPSession"
|
|
|
|
status="generate"
|
2022-09-13 09:13:07 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "get_media"
|
|
|
|
# Map to dup_media if new enough as get_media is not thread-safe
|
|
|
|
manual = true
|
|
|
|
[[object.function]]
|
|
|
|
name = "dup_media"
|
|
|
|
ignore = true
|
|
|
|
|
2018-02-09 02:30:08 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstRtspServer.RTSPSessionMedia"
|
|
|
|
status = "generate"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_state"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to set state of session media"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstRtspServer.RTSPSessionPool"
|
|
|
|
status = "generate"
|
2020-02-25 13:06:44 +00:00
|
|
|
manual_traits = ["RTSPSessionPoolExtManual"]
|
2018-02-09 02:30:08 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "remove"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to remove session from pool"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "create_watch"
|
|
|
|
# GSource return
|
2020-11-04 18:00:23 +00:00
|
|
|
manual = true
|
2018-02-09 02:30:08 +00:00
|
|
|
|
2019-12-17 19:00:42 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "create"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Failed to create session pool"
|
|
|
|
|
2018-02-09 02:30:08 +00:00
|
|
|
[[object]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "GstRtspServer.RTSPStream"
|
|
|
|
status = "generate"
|
2020-02-25 13:06:44 +00:00
|
|
|
|
2019-02-04 14:56:17 +00:00
|
|
|
[[object.function]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "query_position"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "query_stop"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "add_transport"
|
2019-02-04 14:56:17 +00:00
|
|
|
[object.function.return]
|
2021-12-03 16:14:55 +00:00
|
|
|
bool_return_is_error = "Failed to add transport"
|
2019-02-04 14:56:17 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "remove_transport"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to remove transport"
|
2019-02-04 14:56:17 +00:00
|
|
|
|
2018-02-09 02:30:08 +00:00
|
|
|
[[object.function]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "join_bin"
|
2018-02-09 02:30:08 +00:00
|
|
|
[object.function.return]
|
2021-12-03 16:14:55 +00:00
|
|
|
bool_return_is_error = "Failed to join bin"
|
2018-02-23 02:33:37 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "leave_bin"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to leave bin"
|
2019-12-17 19:00:42 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "set_blocked"
|
2019-12-17 19:00:42 +00:00
|
|
|
[object.function.return]
|
2021-12-03 16:14:55 +00:00
|
|
|
bool_return_is_error = "Failed to block/unblock the dataflow"
|
2019-12-17 19:00:42 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "unblock_linked"
|
2019-12-17 19:00:42 +00:00
|
|
|
[object.function.return]
|
2021-12-03 16:14:55 +00:00
|
|
|
bool_return_is_error = "Failed to unblock the dataflow"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "update_crypto"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to update crypto"
|
2019-12-17 19:00:42 +00:00
|
|
|
|
2020-06-30 07:22:52 +00:00
|
|
|
[[object]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "GstRtspServer.RTSPStreamTransport"
|
2020-06-30 07:22:52 +00:00
|
|
|
status = "generate"
|
2021-12-03 16:14:55 +00:00
|
|
|
concurrency = "none"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "send_rtcp"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to send rtcp"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "send_rtp"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to send rtp"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_active"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to set active"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstRtspServer.RTSPThread"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "stop"
|
|
|
|
# Moved to RTSPThreadRef
|
2020-06-30 07:22:52 +00:00
|
|
|
ignore = true
|
2021-12-03 16:14:55 +00:00
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstRtspServer.RTSPToken"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|