mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 17:41:05 +00:00
948fb2ae4b
... in function signatures. These breaking changes aim at improving usability by allowing users to take advantage of Rust error management features sur as `ok_or`, `map_err`, `expect` and the `?` operator. See the `examples` and `tutorials` to get an idea of the impacts.
269 lines
5.6 KiB
TOML
269 lines
5.6 KiB
TOML
[options]
|
|
girs_dir = "gir-files"
|
|
library = "GstRtspServer"
|
|
version = "1.0"
|
|
min_cfg_version = "1.8"
|
|
target_path = "gstreamer-rtsp-server"
|
|
work_mode = "normal"
|
|
concurrency = "send+sync"
|
|
generate_safety_asserts = true
|
|
single_version_file = true
|
|
doc_target_path = "docs/gstreamer-rtsp-server/docs.md"
|
|
generate_display_trait = false
|
|
|
|
external_libraries = [
|
|
"GLib",
|
|
"GObject",
|
|
"Gio",
|
|
"Gst",
|
|
"GstNet",
|
|
"GstRtsp",
|
|
"GstSDP"
|
|
]
|
|
|
|
generate = [
|
|
"GstRtspServer.RTSPAddressFlags",
|
|
"GstRtspServer.RTSPAddressPoolResult",
|
|
"GstRtspServer.RTSPMediaFactoryURI",
|
|
"GstRtspServer.RTSPMediaStatus",
|
|
"GstRtspServer.RTSPMountPoints",
|
|
"GstRtspServer.RTSPPublishClockMode",
|
|
"GstRtspServer.RTSPSession",
|
|
"GstRtspServer.RTSPSuspendMode",
|
|
"GstRtspServer.RTSPThreadPool",
|
|
"GstRtspServer.RTSPThreadType",
|
|
"GstRtspServer.RTSPTransportMode"
|
|
]
|
|
|
|
manual = [
|
|
"GLib.MainContext",
|
|
"GLib.IOCondition",
|
|
"GLib.Source",
|
|
"GLib.MainLoop",
|
|
"GLib.ThreadPool",
|
|
"GLib.Error",
|
|
"GObject.Object",
|
|
"Gio.TlsCertificateFlags",
|
|
"Gio.TlsCertificate",
|
|
"Gio.TlsDatabase",
|
|
"Gio.TlsConnection",
|
|
"Gio.TlsAuthenticationMode",
|
|
"Gio.Socket",
|
|
"Gio.Cancellable",
|
|
"Gio.SocketFamily",
|
|
"Gst.Element",
|
|
"Gst.State",
|
|
"Gst.Clock",
|
|
"Gst.Pipeline",
|
|
"Gst.Pad",
|
|
"Gst.Bin",
|
|
"Gst.FlowReturn",
|
|
"GstRtsp.RTSPAuthMethod",
|
|
"GstRtsp.RTSPUrl",
|
|
"GstRtsp.RTSPResult",
|
|
"GstRtsp.RTSPStatusCode",
|
|
"GstRtsp.RTSPRangeUnit",
|
|
"GstRtsp.RTSPProfile",
|
|
"GstRtsp.RTSPLowerTrans"
|
|
]
|
|
|
|
[[object]]
|
|
name = "Gst.Message"
|
|
status = "manual"
|
|
ref_mode = "ref"
|
|
|
|
[[object]]
|
|
name = "Gst.Structure"
|
|
status = "manual"
|
|
ref_mode = "ref-mut"
|
|
|
|
[[object]]
|
|
name = "Gst.Buffer"
|
|
status = "manual"
|
|
ref_mode = "ref"
|
|
|
|
[[object]]
|
|
name = "Gst.Caps"
|
|
status = "manual"
|
|
ref_mode = "ref"
|
|
|
|
[[object]]
|
|
name = "GstRtspServer.RTSPContext"
|
|
status = "manual"
|
|
ref_mode = "ref"
|
|
|
|
[[object]]
|
|
name = "GstRtspServer.RTSPToken"
|
|
status = "manual"
|
|
ref_mode = "ref"
|
|
|
|
[[object]]
|
|
name = "Gst.ClockTime"
|
|
status = "manual"
|
|
conversion_type = "scalar"
|
|
|
|
[[object]]
|
|
name = "GstRtspServer.RTSPServer"
|
|
status = "generate"
|
|
|
|
[[object.function]]
|
|
name = "attach"
|
|
ignore = true
|
|
|
|
[[object]]
|
|
name = "GstRtspServer.RTSPClient"
|
|
status = "generate"
|
|
|
|
[[object.function]]
|
|
name = "attach"
|
|
ignore = true
|
|
|
|
[[object]]
|
|
name = "GstRtspServer.RTSPStream"
|
|
status = "generate"
|
|
|
|
[[object.function]]
|
|
name = "recv_rtcp"
|
|
# Use Result<FlowSuccess, FlowError>
|
|
ignore = true
|
|
|
|
[[object.function]]
|
|
name = "recv_rtp"
|
|
# Use Result<FlowSuccess, FlowError>
|
|
ignore = true
|
|
|
|
[[object.function]]
|
|
name = "query_position"
|
|
ignore = true
|
|
|
|
[[object.function]]
|
|
name = "query_stop"
|
|
ignore = true
|
|
|
|
[[object.function]]
|
|
name = "add_transport"
|
|
[object.function.return]
|
|
bool_return_is_error = "Failed to add transport"
|
|
|
|
[[object.function]]
|
|
name = "remove_transport"
|
|
[object.function.return]
|
|
bool_return_is_error = "Failed to remove transport"
|
|
|
|
[[object.function]]
|
|
name = "join_bin"
|
|
[object.function.return]
|
|
bool_return_is_error = "Failed to join bin"
|
|
|
|
[[object.function]]
|
|
name = "leave_bin"
|
|
[object.function.return]
|
|
bool_return_is_error = "Failed to leave bin"
|
|
|
|
[[object]]
|
|
name = "GstRtspServer.RTSPAddress"
|
|
status = "generate"
|
|
concurrency = "send"
|
|
|
|
[[object]]
|
|
name = "GstRtspServer.RTSPStreamTransport"
|
|
status = "generate"
|
|
concurrency = "none"
|
|
|
|
[[object.function]]
|
|
name = "recv_data"
|
|
# Use Result<FlowSuccess, FlowError>
|
|
ignore = true
|
|
|
|
[[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.RTSPAddressPool"
|
|
status = "generate"
|
|
|
|
[[object.function]]
|
|
name = "add_range"
|
|
[object.function.return]
|
|
bool_return_is_error = "Failed to add address range"
|
|
|
|
[[object.function]]
|
|
name = "reserve_address"
|
|
ignore = true
|
|
|
|
[[object]]
|
|
name = "GstRtspServer.RTSPMedia"
|
|
status = "generate"
|
|
|
|
[[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"
|
|
|
|
[[object.function]]
|
|
name = "unsuspend"
|
|
[object.function.return]
|
|
bool_return_is_error = "Failed to unsuspend media"
|
|
|
|
[[object]]
|
|
name = "GstRtspServer.RTSPMediaFactory"
|
|
status = "generate"
|
|
|
|
[[object.function]]
|
|
name = "add_role_from_structure"
|
|
# Different structure mutability needed
|
|
ignore = true
|
|
|
|
[[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"
|
|
|
|
[[object.function]]
|
|
name = "remove"
|
|
[object.function.return]
|
|
bool_return_is_error = "Failed to remove session from pool"
|
|
|
|
[[object.function]]
|
|
name = "create_watch"
|
|
# GSource return
|
|
ignore = true
|
|
|
|
[[object]]
|
|
name="GstRtspServer.RTSPAuth"
|
|
status="generate"
|
|
|
|
[[object.function]]
|
|
name = "make_basic"
|
|
[object.function.return]
|
|
nullable = false
|
|
|
|
[[object.function]]
|
|
name = "set_default_token"
|
|
# gir forgets mut
|
|
ignore = true
|