webrtcsrc: Removed flag setup from WhipServerSrc

It's already done in the base class

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1461>
This commit is contained in:
Jordan Yelloz 2024-02-27 08:36:42 -07:00
parent 17b2640237
commit f0b408d823

View file

@ -1249,11 +1249,6 @@ impl ObjectImpl for WhipServerSrc {
let _ = ws.set_signaller(WhipServerSignaller::default().upcast()); let _ = ws.set_signaller(WhipServerSignaller::default().upcast());
let obj = &*self.obj();
obj.set_suppressed_flags(gst::ElementFlags::SINK | gst::ElementFlags::SOURCE);
obj.set_element_flags(gst::ElementFlags::SOURCE);
let settings = ws.settings.lock().unwrap(); let settings = ws.settings.lock().unwrap();
element element
.bind_property("stun-server", &settings.signaller, "stun-server") .bind_property("stun-server", &settings.signaller, "stun-server")