mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
webrtcbin: Expose current and pending local/remote description properties
They are already handled in the property getter and setter functions but were not formally declared in the GObject class.
This commit is contained in:
parent
da6afdec9c
commit
9595a7a721
1 changed files with 42 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue