diff --git a/ext/webrtc/gstwebrtcbin.c b/ext/webrtc/gstwebrtcbin.c index 14fa1832aa..6d4a49bd1e 100644 --- a/ext/webrtc/gstwebrtcbin.c +++ b/ext/webrtc/gstwebrtcbin.c @@ -4983,6 +4983,26 @@ gst_webrtc_bin_class_init (GstWebRTCBinClass * klass) GST_TYPE_WEBRTC_SESSION_DESCRIPTION, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + g_object_class_install_property (gobject_class, + PROP_CURRENT_LOCAL_DESCRIPTION, + g_param_spec_boxed ("current-local-description", + "Current Local Description", + "The local description that was successfully negotiated the last time " + "the connection transitioned into the stable state", + GST_TYPE_WEBRTC_SESSION_DESCRIPTION, + G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property (gobject_class, + PROP_PENDING_LOCAL_DESCRIPTION, + g_param_spec_boxed ("pending-local-description", + "Pending Local Description", + "The local description that is in the process of being negotiated plus " + "any local candidates that have been generated by the ICE Agent since the " + "offer or answer was created", + GST_TYPE_WEBRTC_SESSION_DESCRIPTION, + G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property (gobject_class, PROP_REMOTE_DESCRIPTION, g_param_spec_boxed ("remote-description", "Remote Description", @@ -4990,6 +5010,28 @@ gst_webrtc_bin_class_init (GstWebRTCBinClass * klass) GST_TYPE_WEBRTC_SESSION_DESCRIPTION, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + g_object_class_install_property (gobject_class, + PROP_CURRENT_REMOTE_DESCRIPTION, + g_param_spec_boxed ("current-remote-description", + "Current Remote Description", + "The last remote description that was successfully negotiated the last " + "time the connection transitioned into the stable state plus any remote " + "candidates that have been supplied via addIceCandidate() since the offer " + "or answer was created", + GST_TYPE_WEBRTC_SESSION_DESCRIPTION, + G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property (gobject_class, + PROP_PENDING_REMOTE_DESCRIPTION, + g_param_spec_boxed ("pending-remote-description", + "Pending Remote Description", + "The remote description that is in the process of being negotiated, " + "complete with any remote candidates that have been supplied via " + "addIceCandidate() since the offer or answer was created", + GST_TYPE_WEBRTC_SESSION_DESCRIPTION, + G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property (gobject_class, PROP_STUN_SERVER, g_param_spec_string ("stun-server", "STUN Server",