mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-23 02:26:35 +00:00
doc: add docstrings for signaller object
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1419>
This commit is contained in:
parent
7a72b2fc25
commit
972b9e5474
1 changed files with 12 additions and 0 deletions
|
@ -493,21 +493,33 @@ impl ObjectImpl for Signaller {
|
|||
static PROPS: Lazy<Vec<glib::ParamSpec>> = Lazy::new(|| {
|
||||
vec![
|
||||
glib::ParamSpecString::builder("uri")
|
||||
.nick("Signaller URI")
|
||||
.blurb("URI for connecting to the signaller server")
|
||||
.flags(glib::ParamFlags::READWRITE)
|
||||
.build(),
|
||||
glib::ParamSpecString::builder("producer-peer-id")
|
||||
.nick("Producer peer id")
|
||||
.blurb("The peer id of the producer transmitted to the signaller server")
|
||||
.flags(glib::ParamFlags::READWRITE)
|
||||
.build(),
|
||||
glib::ParamSpecString::builder("cafile")
|
||||
.nick("Certificate Authority (CA) file")
|
||||
.blurb("Certificate file used in TLS session")
|
||||
.flags(glib::ParamFlags::READWRITE)
|
||||
.build(),
|
||||
glib::ParamSpecEnum::builder_with_default("role", WebRTCSignallerRole::Consumer)
|
||||
.nick("Role")
|
||||
.blurb("Role within the session (Consumer, Producer or Listener)")
|
||||
.flags(glib::ParamFlags::READWRITE)
|
||||
.build(),
|
||||
glib::ParamSpecString::builder("client-id")
|
||||
.nick("Client id")
|
||||
.blurb("The client id transmitted to the signaller server")
|
||||
.flags(glib::ParamFlags::READABLE)
|
||||
.build(),
|
||||
glib::ParamSpecBoxed::builder::<gst::Structure>("headers")
|
||||
.nick("HTTP headers")
|
||||
.blurb("HTTP headers sent during the connection handshake")
|
||||
.flags(glib::ParamFlags::READWRITE)
|
||||
.build(),
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue