Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2023-01-21 19:13:48 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-01-21 19:13:48 +0300
commit458b2386ed5c3cdfde45b0eab127220f0431bf0d (patch)
treead1ef0925c028d0239f0aeafd065797fd87e48ff /net/webrtchttp
parent7cfd570c15b9742f7e07e92f97ffc2c623b6791f (diff)
Update for glib API changes
Diffstat (limited to 'net/webrtchttp')
-rw-r--r--net/webrtchttp/src/whepsrc/imp.rs2
-rw-r--r--net/webrtchttp/src/whipsink/imp.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/webrtchttp/src/whepsrc/imp.rs b/net/webrtchttp/src/whepsrc/imp.rs
index 1bcc35f66..2ee1ac935 100644
--- a/net/webrtchttp/src/whepsrc/imp.rs
+++ b/net/webrtchttp/src/whepsrc/imp.rs
@@ -242,7 +242,7 @@ impl ObjectImpl for WhepSrc {
.nick("Authorization Token")
.blurb("Authentication token to use, will be sent in the HTTP Header as 'Bearer <auth-token>'")
.build(),
- glib::ParamSpecEnum::builder::<IceTransportPolicy>("ice-transport-policy", DEFAULT_ICE_TRANSPORT_POLICY)
+ glib::ParamSpecEnum::builder_with_default("ice-transport-policy", DEFAULT_ICE_TRANSPORT_POLICY)
.nick("ICE transport policy")
.blurb("The policy to apply for ICE transport")
.build(),
diff --git a/net/webrtchttp/src/whipsink/imp.rs b/net/webrtchttp/src/whipsink/imp.rs
index 237e21322..4f30afa65 100644
--- a/net/webrtchttp/src/whipsink/imp.rs
+++ b/net/webrtchttp/src/whipsink/imp.rs
@@ -229,7 +229,7 @@ impl ObjectImpl for WhipSink {
.blurb("The TURN server of the form turn(s)://username:password@host:port.")
.build(),
- glib::ParamSpecEnum::builder::<IceTransportPolicy>("ice-transport-policy", DEFAULT_ICE_TRANSPORT_POLICY)
+ glib::ParamSpecEnum::builder_with_default("ice-transport-policy", DEFAULT_ICE_TRANSPORT_POLICY)
.nick("ICE transport policy")
.blurb("The policy to apply for ICE transport")
.build(),