summaryrefslogtreecommitdiff
path: root/gst-libs/gst/webrtc/dtlstransport.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/webrtc/dtlstransport.c')
-rw-r--r--gst-libs/gst/webrtc/dtlstransport.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gst-libs/gst/webrtc/dtlstransport.c b/gst-libs/gst/webrtc/dtlstransport.c
index 9c06253e3..c3b2d519d 100644
--- a/gst-libs/gst/webrtc/dtlstransport.c
+++ b/gst-libs/gst/webrtc/dtlstransport.c
@@ -84,8 +84,6 @@ gst_webrtc_dtls_transport_set_property (GObject * object, guint prop_id,
case PROP_CLIENT:
g_object_set_property (G_OBJECT (webrtc->dtlssrtpenc), "is-client",
value);
- gst_element_set_locked_state (webrtc->dtlssrtpenc, FALSE);
- gst_element_sync_state_with_parent (webrtc->dtlssrtpenc);
break;
case PROP_CERTIFICATE:
g_object_set_property (G_OBJECT (webrtc->dtlssrtpdec), "pem", value);